Skip to content

feat(spec, ui): a master_detail child is a tab by default; a field group puts it in the overview and the form - #35921

Merged
objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/project-thread-4gy3q0
Nov 21, 2026
Merged

objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/project-thread-4gy3q0

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

repo:objectstack#1 · os-sales · session_01L6bhgTZaMP6gPV6DVStBSU

Part of #35889

Flow: dev-thread rule (maintainer 2026-11-20 09:22:50Z 「所有 p1 都按照新规则执行」): the card thread builds itself; L1 and the isolated L2 run in parallel at hand-back, the maintainer's 09:22Z ruling for every p1 card (deviates from contract-review.md:18 until the skill card lands).

ADR text drafted at opus under the measured quota exemption (the Fable quota was spent while it was written); the Fable L2 reviews it.

维护者速读

What changes

A master_detail FK that declares no relatedList is now a tab of the parent's record page, with its count, like any other related list, inlineEdit or not. It becomes a body table only where a field group of the PARENT names it (fieldGroups[].relatedList, a child object name or object.field).

  • Spec (packages/spec/src/data/related-list-body-table.ts): isGroupPlaceableRelationship(field) is the set a field group may name (unchanged: 'primary', or a master_detail with no relatedList). isBodyTableRelationship(field, { placedByGroup }) is still the one body-table judgement. fieldGroupsPlaceRelationship(fieldGroups, child, field) reads whether a parent group names the list. fieldGroupBodyTableRefusal filters with the placeable test, so its accept set is unchanged. Field, object and form describes rewritten to say this.
  • Migration entry semantic/18.master-detail-related-list-tab-by-default with the in-repo census, and an ADR-0035 amendment (status line plus a third note under the read-side table).
  • Record page: deriveRelatedLists reads the parent's field groups for isPrimary and adds isPlaceable. A plain master_detail table a group makes a body table keeps its tab too (card item 4, keepsTab from deriveRelatedLists); a relatedList: 'primary' table stays body-only, as before, whether or not a group positions it. The edit state (记录页编辑:主记录的字段和主从子表的行一起进入编辑状态,一次保存、同一个事务 #35599) follows the body tables, so it covers exactly the group-placed ones.
  • Forms: attachInlineSubforms inlines a child only where a parent field group places it, a 'primary' child included (ruling B: a 'primary' child a group names now joins the parent's forms; one no group names leaves them, even with inlineEdit). inlineEdit only picks the form factor ('grid', 'form', or the shape-picked default). The table still sits below the record's fields in the entry form.
  • Field-group help text (object.form.ts, en and zh-CN bundles): no longer says the record page does not draw the placement.
  • Studio: the field-group picker offers the same children (isPlaceable); the relationship inspector reads a plain master_detail FK as "Show", and "Show" leaves the key absent so a group can still place it.
  • os lint: relationship/line-items-inline-edit suggests a parent field group instead of inlineEdit: true; relationship/association-inline-edit and relationship/inline-edit-needs-bulk judge the children a parent group places; the field-consumer rule credits a child's inline grid columns only when a parent group places it.
  • Docs: data-modeling/fields.mdx, data-modeling/field-types.mdx and getting-started/common-patterns.mdx said inlineEdit alone puts the child rows on the parent's form; they now say the parent's field group decides (with the group snippet), and the order example names its lines in a group. Flagged by the docs-drift check.
  • Examples: the showcase invoice and expense report, and the CRM opportunity, gain a field group naming their lines, so their record pages and forms keep the line table.

The split (agreed with the seat)

  • S1, this PR (Part of #35889): spec rule, migration entry, ADR amendment, record page, Studio, group-named children entering the create and edit forms (below the master fields for now), and saving together from Edit.
  • S2, a new session after this merges (Fixes #35889): ObjectForm slot sections for the simple, tabbed and wizard layouts, so a placed table moves to its group's place in the form. No S2 form change is in this PR.

What S1 leaves (follow-ups)

Why

Maintainer on #35889: 「主从子表我认为不应该自动申明放在概览中,除非我通过 fieldGroup 强制指定」 and 「我们已经开发好的功能也没必要作废」; ruling B on the same card (2026-11-20 17:34Z, 「明细表应该改成指看分组的定义了」): only the group definition decides, inlineEdit only picks grid or form.

Verification

  • @objectstack/spec tests green; pnpm --filter @objectstack/spec check:generated 14/14 (api-surface, export-origins, reference docs regenerated).
  • @objectstack/lint: 9351 tests green. packages/cli/test/data-model-rules.test.ts: 65 green.
  • ui/: plugin-detail and the record page harness (395 files, 3671 tests) green; the directly affected app-shell files (deriveRelatedLists*, MetadataProvider.merge, composedObjectsIdentity-11699, the field inspector) green; the whole app-shell suite (2351 files) was too slow to finish locally beside the builds and was stopped, so CI's Test UI shards are the measurement for it.
  • New and rewritten pins: the spec verdict table (placeable / body / placed body), the record page harness (unplaced md is a tab with no body table, inlineEdit or not; a group-placed one is a body table that keeps its tab; true / false unchanged), the edit state (记录页编辑:主记录的字段和主从子表的行一起进入编辑状态,一次保存、同一个事务 #35599) on a group-placed page, buildDefaultTabs keeping a placed table's tab, attachInlineSubforms inlining only group-placed children, and the lint rules on placed and unplaced children.
  • Browser (showcase on a fresh boot, HMR console from this branch's ui/), the expense report EXP-DEMO:
    • With the lines group: the Expense Lines table sits between the Report and Totals groups in the overview, the tab row still has Expense Lines 4, and the create form inlines the lines grid. At 375 px the table draws as cards at the same place and the tab stays on the row.
    • The lines group removed (temporary local edit, not committed): no table in the overview, Expense Lines 4 is a tab and a rail card, and the create form has no lines grid. This is the card's first acceptance line.
    • The edit-together save on a placed table is pinned by the record page harness (recordEditState-35599), not driven in the browser: the seeded report is locked by its pending approval.

Clause-②: yes (widening: @objectstack/spec/data exports isGroupPlaceableRelationship, fieldGroupsPlaceRelationship and the BodyTableContext type, and isBodyTableRelationship takes an optional second argument)
Metadata-protocol: semantic
Skills-docs: follow-up #35902

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic.
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: its generated artifacts are regenerated and committed.
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgTZaMP6gPV6DVStBSU

…oup puts it in the overview and the form

A master_detail FK that declares no relatedList is now a tab of the record
page with its count. A field group of the PARENT naming the child
(fieldGroups[].relatedList) draws its table at the group's place in the
overview, keeps its tab, inlines it in the create and edit forms, and makes
the record page's Edit save fields and rows together. inlineEdit only picks
the form factor (maintainer ruling B). relatedList: 'primary' is unchanged.

Spec predicate, migration entry, ADR-0035 amendment, os lint rules, Studio
readers, and the showcase invoice / expense report and CRM opportunity gain a
lines field group.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgTZaMP6gPV6DVStBSU
@objectstack-fleet
objectstack-fleet Bot requested a review from os-sales November 20, 2026 19:02
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation protocol:data tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 20, 2026
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 3 package(s): @objectstack/lint, @objectstack/platform-objects, @objectstack/spec, touching 22 documentable anchor(s). ⚠️ 4 changed file(s) yielded no anchor (packages/lint/src/validate-related-list-refs.ts, packages/spec/api-surface/data.json, packages/spec/export-origins/data.json, …), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

18 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: node scripts/docs-audit/affected-docs.mjs --json 9a8bb83d4c7698bc87ac955a272f27d1d5802fda.

⛔ 5 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails.

What this run could not see
  • 4 changed file(s) yielded no anchor (packages/lint/src/validate-related-list-refs.ts, packages/spec/api-surface/data.json, packages/spec/export-origins/data.json, …) — pages documenting those are invisible to this run
  • 1 anchor(s) matched too much of the corpus to be a work list: master_detail (literal, 46 pages)
  • 6 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 174 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 9a8bb83d4c7698bc87ac955a272f27d1d5802fda → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 80915cef420d9670069e91ca3ef650b38e0fde79 — the merge of head 863793e9a9501507274c9756672e97667cb32eea into base 9a8bb83d4c7698bc87ac955a272f27d1d5802fda, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 80915cef420d9670069e91ca3ef650b38e0fde79 && git checkout 80915cef420d9670069e91ca3ef650b38e0fde79
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 9a8bb83d4c7698bc87ac955a272f27d1d5802fda 863793e9a9501507274c9756672e97667cb32eea && git checkout -B drift-repro 9a8bb83d4c7698bc87ac955a272f27d1d5802fda && git merge --no-ff 863793e9a9501507274c9756672e97667cb32eea

node scripts/docs-audit/affected-docs.mjs --json 9a8bb83d4c7698bc87ac955a272f27d1d5802fda

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 9a8bb83d4c7698bc87ac955a272f27d1d5802fda → pass the list as
args.docs, on the commit named under Which tree this was computed on.

… where a parent field group names it

The field reference tables, the master_detail section, the embedded-types
callout and the common-patterns order example said inlineEdit alone puts the
child rows on the parent's form. They now say the parent's field group decides
and inlineEdit picks the form factor, and the order example names its lines in
a group.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgTZaMP6gPV6DVStBSU
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP

维护者速读

  • 方向符合 主从子表默认只是页签,不再自动放进概览和表单;只有字段分组指定时才放进去 #35889 和裁定 B(「一律只看分组」):主从子表默认变成带条数的页签,只有父对象的字段分组指向它时才进概览、进表单、跟主记录一起保存。示例里的发票、报销单、CRM 商机都补了分组,页面看起来和以前一样。
  • 要退回去改一处:显式写了 relatedList: 'primary'、又被分组指定位置的子表,这次在页签栏里也会多出一个页签。卡上写明 primary 的行为不变,本 PR 自己的迁移说明也这么写,所以要改回只在概览里显示。另外 PR 正文缺一行 Skills-docs:。
  • 要你做什么:现在不需要。

席位核对 — REWORK (L1-c) · repo:objectstack#1 · head f481458aa5 · 2026-11-20T19:08Z

Read at f481458a (two commits: 9b1b1370 the build, f481458a docs-only). The face this PR touches: published schema (packages/spec/src/data/**, describes in field.zod.ts / object.zod.ts, one new semantic/18 migration entry), Tier H (docs/adr/0035), and Clause-②: yes (widening). So the contract L2 at CONTRACT_REVIEW_TIER is the seat's and this L1 does not replace it.

Must-fix

  1. A relatedList: 'primary' table that a field group names now also gets a tab. buildDefaultPageSchema.ts synthTabs (sides = related.filter((rel) => !isBody(rel) || placedByGroup(rel))) keeps a tab for every body table a group names, and a 'primary' list a group positions is one of those. On main that list was body-only. The card says 'primary' is not changed (「本卡不改它的行为」; acceptance: 「显式写了 relatedList: 'primary' 的子表:行为和改之前一样」), and this PR's own migration entry says the same (acceptanceCriteria: "A child whose FK declares relatedList 'primary' is drawn as before"). The new test a table a group places keeps its tab … (bodyTables-27055) pins the item-4 tab with isBody: true fixtures and does not tell the two cases apart. Fix: keep the item-4 tab only for a plain master_detail list that a group makes a body table (the host already computes isPlaceable and knows whether the FK says 'primary'), and pin a 'primary' + group case that stays body-only. If the thread reads card item 4 as covering 'primary' too, that is a fork the card does not settle: send it to the seat instead, and say it in the changeset and the migration entry. The same 'primary' + group child also enters the parent's form now (attachInlineSubforms inlines any placeable child a group names, inlineEdit or not). That follows ruling B (「一律只看分组」), so keep it, but say it in the changeset and the migration surface / acceptanceCriteria, which today say 'primary' is drawn as before.
  2. Skills-docs: line missing. Metadata-protocol: semantic owes the PR body a third line (SKILL.md claim template; l1-face skills-docs FLAG). The body already names 技能、文档、示例和 HotCRM 用上记录页的新写法:relatedLists 列页签、分组列字段、分组指向子表、扩展包声明位置 #35902 for the skills text, so add Skills-docs: follow-up #35902.

Should-fix

  1. The follow-ups need card numbers. The body's "What S1 leaves" names three follow-ups with no card: retiring inlineEdit: true (it now means the same as absent), the non-en / non-zh-CN metadata-forms translations that still carry the old inlineEdit help, and the object.form.ts group help "The record page does not draw this placement yet". Ask the seat to file them (or name the cards that already hold them), then write #N into the body.

Nits (no re-read needed)

  1. deriveRelatedLists.ts:367: one blank line is removed with no other change. That line is in relatedLists 管记录页页签的显示和顺序:声明了就只显示列出来的;附件、审批、动态用对象名 sys_attachment、sys_approval_request、sys_activity 列进来 #35897's region (PR feat(spec): relatedLists is the record page's tab list, with built-in tabs by object name and per-entry title and columns #35923), so drop the hunk to avoid a needless conflict.
  2. synthTabs reads "does a group name this list" with plugin-detail's relatedListEntryNames, while the spec now exports fieldGroupsPlaceRelationship for the same question, and the spec header says "no second copy anywhere". They agree today. Using the spec one would keep them from drifting apart.
  3. Example comments that now tell half the story: examples/app-crm/src/flows/convert-lead.flow.ts:123 and examples/app-crm/src/security/sales-positions.ts:56 still say inlineEdit: 'grid' is what puts the grid on the Opportunity form. The lines group does that now.

Checked and fine

  • Shape. Draft, base main, first line Part of #35889, no closing keyword (S2 carries Fixes #35889). The split is right: card acceptance line 2 (the form shows the table at the group's place) is S2's.
  • Spec rule. isGroupPlaceableRelationship accepts exactly the set the old isBodyTableRelationship accepted ('primary', or a master_detail with no relatedList), and fieldGroupBodyTableRefusal now filters by it. So no write that was accepted is refused, as the migration entry says. isBodyTableRelationship(field) with no context now returns true only for 'primary'.
  • Ruling B on the write side. attachInlineSubforms inlines only a placeable child that a parent group names, and inlineEdit now only picks 'grid' / 'form'. Lint R5 (line-items-inline-edit), R6 (association-inline-edit), inline-edit-needs-bulk and the field-consumer credit read the same group test. The migration surface declares the change for a 'primary' + inlineEdit child with no group, which leaves the form. The opposite case is finding 1.
  • Overlaps. The RecordDetailView.tsx hunk is a comment at :4342, not seat 5's header. The buildDefaultPageSchema.ts hunks stay in the body-table doc and synthTabs' sides line, not 记录页默认页不再画阶段条和顶部关键字段条;阶段改成记录名旁的状态标签,点开下拉切换(图 41) #35891's header and highlights. Studio has inspector edits only (ObjectFieldInspector, ObjectGroupInspector); RelatedListsEditor is untouched.
  • HotCRM premise. Quote and opportunity line items declare 'primary' with no inlineEdit, so they are unchanged. Project budget lines (inlineEdit: 'grid') need the group, which is feat(psa): a project budget names its lines in a field group, so they stay in its form and record page hotcrm#2721 (open).
  • Changeset. It has minor on every published package it moves, which is the level semantic takes. l1-face flags @objectstack/cli, but the only cli file touched is packages/cli/test/data-model-rules.test.ts, which does not ship. So no cli entry is owed.
  • Prose read sentence by sentence: the .changeset, content/docs/data-modeling/field-types.mdx (the inlineEdit row, "Where the child list shows", the callout and the composite sample), fields.mdx (the sample comment and the inlineEdit row), getting-started/common-patterns.mdx (the order group), and the ADR-0035 status line and third note. Each matches the diff, with one exception: the changeset bullet "A relatedList: 'primary' table that no group names stays body-only" is true, but finding 1 is what the changeset leaves unsaid. The card's "不补文档" is read as "no new teaching"; these docs edits correct sentences this PR made false, which the review checklist requires.
  • Gates. At f481458a: 6 success, 11 expected skip, 0 failed, 24 pending. Lint & Repo Gates and TypeScript Type Check are not yet reported. Vitest was NOT MEASURED by L1. A delta re-read is owed for findings 1–3.

Generated by Claude Code

…; say where 'primary' joins the form

L1 rework on the S1 change. Only a plain master_detail list that a parent
field group makes a body table keeps its tab (deriveRelatedLists sets
keepsTab, the page synthesizer reads it, and no longer re-derives group
placement); a relatedList: 'primary' table stays body-only whether or not a
group positions it. The changeset and the migration entry now say that a
'primary' child a group names joins the parent's forms (ruling B). The group
help text no longer says the record page does not draw the placement, and two
CRM example comments name the lines group.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgTZaMP6gPV6DVStBSU
os migrate meta prints the semantic entry's text, and its guidance pin
refuses a tracker id there. The card references move to the file's header
comment; the printed reason says what changed instead.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgTZaMP6gPV6DVStBSU
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Posted 2026-11-20T20:30Z. The brief handed to the isolated contract reviewer at CONTRACT_REVIEW_TIER for PR #35921 (slice S1 of #35889; owed by the published-schema face packages/spec/src/**, the ADR-0035 note and the PR's Clause-②: yes (widening) line). The record follows as its own comment.

Contract review brief — PR #35921 @ 63c286df1df529bfec7be5520c6a94320b8b2b2b (card #35889)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --paths packages/spec/src/data/authoring-key-lint.ts packages/spec/src/data/field.form.ts packages/spec/src/data/field.zod.ts packages/spec/src/data/object.form.ts packages/spec/src/data/object.zod.ts packages/spec/src/data/related-list-body-table.ts packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts packages/spec/src/stack.zod.ts docs/adr/0035-config-driven-master-detail.md — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #35889: its body and EVERY comment (rulings and earlier records included)
· PR #35921: its body, its file list, and the net diff against main at 63c286df1df529bfec7be5520c6a94320b8b2b2b
· the check-runs on 63c286df1df529bfec7be5520c6a94320b8b2b2b: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: packages/spec/src/data/authoring-key-lint.ts, packages/spec/src/data/field.form.ts, packages/spec/src/data/field.zod.ts, packages/spec/src/data/object.form.ts, packages/spec/src/data/object.zod.ts, packages/spec/src/data/related-list-body-table.ts, packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts, packages/spec/src/stack.zod.ts, docs/adr/0035-config-driven-master-detail.md;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

Security — a hits path sits on the low-risk skills arm: when the change teaches security, auth or permission
behaviour the path name doesn't show, the record says so and the seat adopting the record adds the security label.
The record says so on its Security-touching: line, and the arm lands on no alone: write no ONLY when no changed
hunk teaches permission, sharing, credential, token, authentication or other security behaviour, else yes.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user/3d3cbaf6-4903-5fed-92d4-c2b94a45e868/scratchpad/pr-35921/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP

维护者速读

  • L1 通过:上次退回的地方都改好了。显式写了 relatedList: 'primary' 的子表,无论有没有分组,都不会多出页签,和以前一样;只有被分组放进概览的普通主从子表才同时保留页签。CI 全绿。
  • 还要做的:Fable 契约审核,以及 ADR 改动要 os-zhuang 批准(Tier H),两者都由座位负责。本 PR 只是 主从子表默认只是页签,不再自动放进概览和表单;只有字段分组指定时才放进去 #35889 的第一步,合并后卡不会关,第二步 S2 另开会话做。
  • 要你做什么:现在不需要。

席位核对 — delta ACCEPT (L1-c) · repo:objectstack#1 · head 63c286df1d · 2026-11-20T20:31Z

This record covers the delta from my REWORK 7048266642 at f481458a to 63c286df: two commits.

  • Finding 1 fixed (c0a539e2). deriveRelatedLists sets keepsTab only when the list is a body table and the FK's relatedList is not 'primary', that is, a plain master_detail list that a field group makes a body table. RecordDetailView passes it through, and synthTabs keeps a tab only for keepsTab. The spec-copy placingEntries block is gone (nit 5 is moot). Three new pins:

    • deriveRelatedLists.test.ts: a 'primary' FK, with and without a placing group, is a body table with no keepsTab.
    • The bodyTables-27055 CONTROL: a 'primary' body table that a group only positions has no tab and stays at its group.
    • The RecordDetailView harness CONTROL: the same, both ways.

    The item-4 case still keeps its tab. The 'primary' + group form change (ruling B) is now stated in the changeset bullet and in the semantic/18 surface and acceptanceCriteria, and both read true against attachInlineSubforms.

  • Finding 2 fixed. The body carries Skills-docs: follow-up #35902.

  • Finding 3 fixed. The follow-ups are Retire inlineEdit: true on master-detail relationships: after #35889 a parent field group decides, so the key means the same as absent #35926 (retire inlineEdit: true) and Non-English metadata-forms translations still carry the old inlineEdit help text after #35889 #35927 (non-en metadata-forms text), both open. The object.form.ts group help no longer says "does not draw this placement yet". The new sentence ("The parent's create and edit forms inline the table too, and the record page's Edit saves the record and its rows together") is true of this head, with en and zh-CN regenerated. The other locales' stale text is Non-English metadata-forms translations still carry the old inlineEdit help text after #35889 #35927's.

  • Nits 4 and 6 done. The blank line at deriveRelatedLists.ts:367 is restored, so there is no hunk in feat(spec): relatedLists is the record page's tab list, with built-in tabs by object name and per-entry title and columns #35923's region there. convert-lead.flow.ts and sales-positions.ts now name the lines group.

  • Patch round (63c286df). The printed reason of semantic/18 no longer names tracker ids. They move to the file header comment, which fixes the Test Core (10/10) red in packages/cli migrate-meta-engine-guidance.test.ts:420. The reworded sentences keep their meaning.

  • Gates. At 63c286df1d: 61 success, 9 expected skip, 0 failed, 0 pending. Lint & Repo Gates and TypeScript Type Check both success. l1-face flags only @objectstack/cli, whose one touched file is packages/cli/test/data-model-rules.test.ts and does not ship, so no entry is owed (as in my first record). Vitest was NOT MEASURED locally by L1.

  • Landing terms. The face is published schema, Tier H (docs/adr/0035) and Clause-②: yes (widening). Still owed: a same-shape CONTRACT_REVIEW_TIER L2 PASS on the current head, and os-zhuang's Tier H approval. This L1 replaces neither, and the seat lands. Part of #35889: merging does not close the card, and pm:dispatched stays until S2 (landing rule B). After this merges, feat(spec): relatedLists is the record page's tab list, with built-in tabs by object name and per-entry title and columns #35923 owes the seat's tab reading (7048340194) plus a pin on a head that includes this PR.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 63c286df1df529bfec7be5520c6a94320b8b2b2b
Local-runs: none
Scope: packages/spec/src/data/authoring-key-lint.ts, packages/spec/src/data/field.form.ts, packages/spec/src/data/field.zod.ts, packages/spec/src/data/object.form.ts, packages/spec/src/data/object.zod.ts, packages/spec/src/data/related-list-body-table.ts, packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts, packages/spec/src/stack.zod.ts, docs/adr/0035-config-driven-master-detail.md + ui/packages/app-shell/src/utils/deriveRelatedLists.ts, ui/packages/app-shell/src/providers/MetadataProvider.tsx, ui/packages/app-shell/src/views/RecordDetailView.tsx, ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts, ui/packages/app-shell/src/views/studio-design/ObjectGroupInspector.tsx, ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.tsx, packages/lint/src/data-model-rules.ts, packages/lint/src/validate-field-consumers.ts, packages/lint/src/validate-related-list-refs.ts, packages/lint/src/rule-explanations.ts, packages/lint/src/authoring-rules.ts
Security-touching: no

Reviewed at 2026-11-20T20:35Z from card #35889 (body and all six comments), PR #35921 (body, file list, net diff against merge-base f44758b21e) and the 70 check-runs on the head. The rest of the diff (tests, examples, content/docs, generated baselines and translations, the changeset prose) is the lane seat's ACCEPT at TIER_DEFAULT.

① Derived judgments

  • What a field group may name (accept set): unchanged. Right. isGroupPlaceableRelationship is the old body of isBodyTableRelationship ('primary', or a master_detail with no relatedList), and fieldGroupBodyTableRefusal now filters with it. stack.zod.ts:4615 and validate-related-list-refs both go through that one function, so no write accepted on main is refused on this head and none refused is now accepted. Only the wording of the refusal sentence moves.
  • isBodyTableRelationship(field) with one argument: changed result, right and declared. A plain master_detail FK was true; it is now false unless the caller passes { placedByGroup: true }. That is the card's item 1 expressed in the one predicate, and it is the semantic half of the declaration. All readers in the tree were moved: deriveRelatedLists passes the parent's groups; ObjectFieldInspector.readRelatedListMode passes none on purpose (the inspector does not hold the parent), so an absent key reads as "Show".
  • Public surface: three additions, right. packages/spec/api-surface/data.json gains BodyTableContext, fieldGroupsPlaceRelationship, isGroupPlaceableRelationship and loses nothing; the second parameter of isBodyTableRelationship is optional.
  • Record page default: right against card item 1 and item 4. With no group naming it, a plain master-detail child is not in bodies and is in sides (a tab with its count). Named by a group, it is in both: keepsTab keeps it in sides, bodyTablePlacement draws it at the group.
  • Forms: right against ruling record 7046311205 (option B). attachInlineSubforms no longer reads inlineEdit as the trigger; it inlines exactly the placeable children a parent group names, and inlineEdit only reaches resolveInlineMode as 'grid' / 'form'. An explicit form-view subforms entry is still honoured as before.
  • relatedList: 'primary': record page unchanged, right against the card. Still a body table with no group, still no tab of its own. Its form side follows ruling B (see ③).
  • Lint: relationship/inline-edit-needs-bulk, relationship/association-inline-edit, relationship/line-items-inline-edit and the field-consumer credit now key on "a parent group places it". Right in direction; the line-items-inline-edit prescription is wrong in two cases, S3 below. validate-field-consumers fills fieldGroupsByObject in the declaration pass, before walkObject runs, so a child declared before its parent is still judged against the parent's groups.
  • Gates. Every check-run on the head concluded success or skipped (opt-in and schedule jobs); none failed. Check Changeset, Governed Surface Queue Guard, Spec property liveness, Type Check (all families), Test Core 1-10, Test UI 1-16, Build Docs and Live E2E UI are green.

② Semver level

Clause-②: yes (widening). Correct: the diff adds three exports and one optional parameter to @objectstack/spec/data and removes or tightens nothing an author or importer could write. Metadata-protocol: semantic is correct: no key is added, removed or refused; the meaning of an absent relatedList on a master_detail FK and of inlineEdit changes. By AGENTS.md the kind takes at least minor on each package the diff moves, and the changeset gives minor to @objectstack/spec, @objectstack/lint, @object-ui/app-shell, @object-ui/plugin-detail and @objectstack/platform-objects (the regenerated form translations). packages/cli moves only in a test. The PR body, the changeset and the claim amendment 7048168819 carry the same two lines. The level matches what the diff publishes.

③ Boundary flags

④ Design judgment

related-list-body-table.ts, stack.zod.ts, authoring-key-lint.ts, field.form.ts, object.form.ts: hold. One predicate for "may a group place it", one for "is it a body table", and one reader of the parent's groups (fieldGroupsPlaceRelationship) used by the record page, the form derivation and lint, so the three surfaces cannot disagree about which children are placed. fieldGroupsPlaceRelationship tolerates stored bodies and matches a bare child name or object.field the same way the refusal does. I tried: a bare name over a child with a placeable and a non-placeable FK (every reader ANDs isGroupPlaceableRelationship, so the side card is not promoted); a child declared before its parent in lint (handled, see ①); a group naming a relatedList: true child (refused as before, and ignored by every reader if stored).

S1 (should-fix) — semantic/18…tab-by-default.ts replacement, and the last sentences of the ADR-0035 note. The entry's own surface names "inlineEdit on a lookup or master_detail field", and replacement says "The same group is what keeps a child that sets inlineEdit inlined in the parent's form". For two parts of that surface the prescribed group is REFUSED by fieldGroupBodyTableRefusal (related-list-group-not-body): a lookup FK with inlineEdit and no relatedList, and any FK with inlineEdit that declares relatedList: true or false. Before this change attachInlineSubforms inlined all of them. The entry must say what those authors do: write relatedList: 'primary' on the FK and then name it in a group (or drop relatedList: true on a master_detail), that "a tab or hidden on the record page, but inlined in the form" can no longer be derived from the relationship, and that an explicit form-view subforms entry still inlines any child (the code keeps it, ADR-0035's second layer). The ADR note's "The parent's form inlines a child exactly where a parent field group names it" needs the same scoping: it is true of the relationship-derived layer only, and the note should say that the form-view subforms and page-block layers are unchanged.

S2 (should-fix) — position in the entry form is claimed but not delivered on this head. object.zod.ts relatedList .describe() says a placed list is "carried by the entry form at the same position"; its jsdoc says "at this position, in the record page, in the parent's entry form"; field.zod.ts jsdoc says the group "carries it in the parent's entry form and the record page's edit state at the same place". The first consumer does not do that: attachInlineSubforms appends the child as a subforms entry and the changeset says "In the entry form a placed table still sits below the record's fields". The describe is published (reference docs, JSON schema descriptions that AI authors read). Until S2 of the card lands, say what is true, as object.form.ts and the ADR note already do ("the parent's create and edit forms inline it"), or say "below the record's fields for now". The previous help text on this same key ("The record page does not draw this placement yet") is the precedent.

S3 (should-fix) — packages/lint/src/data-model-rules.ts, relationship/line-items-inline-edit. The fix it prints, add { key: '…', relatedList: '…' } to PARENT.fieldGroups, omits label, which ObjectFieldGroupSchema requires (label: z.string()), so the prescription applied as written is refused at parse. And the rule fires for a line-item-named master_detail FK that declares relatedList: true or false, where the group it prescribes is refused by the spec (isGroupPlaceableRelationship is false); the old prescription (inlineEdit: true) was valid for those. Add the label to the fix, and either skip the suggestion or prescribe clearing relatedList first when the FK is not placeable.

Nits (no effect on the contract; leave or fold into S1/S2's edit of the same files):

  • N1 — stale "write side" wording next to the new text: field.zod.ts relatedList describe still opens "(read-side mirror of inlineEdit)" and its jsdoc still says "Where inlineEdit pulls a child INTO the parent's entry form (write side)"; related-list-body-table.ts header says "inlineEdit takes no part: it is the WRITE side". After ruling B the write side is the group.
  • N2 — ObjectFieldInspector.readRelatedListMode still calls isBodyTableRelationship({ type, inlineEdit }) for an absent value; with no relatedList and no context that is now always false, so the branch is dead. Harmless.
  • N3 — the refusal sentence and several comments still say "side card" where the page now draws a tab. Pre-existing vocabulary.

ADR-0035 as a whole, against its first consumer: the status-line amendment and the third note are add-only, dated, quote the maintainer's words from the card, and describe what deriveRelatedLists, buildDefaultPageSchema and attachInlineSubforms do on this head (tab by default; body table at the group; forms inline it; Edit saves together; tab kept; 'primary', true, false as stated). The one sentence that overstates is in S1. The note does not claim a form position, which is right for S1 of the split.

No must-fix. S1, S2 and S3 are open on this head and earn a delta review of their fix.

Implemented-by: claude/project-thread-4gy3q0
Reviewed-by: L2 sub-agent of session_01L6bhgUkbQqRUUFSiu2HGob (isolated, CONTRACT_REVIEW_TIER)

VERDICT: PASS

…tab-by-default change

- os lint relationship/line-items-inline-edit prints a field group that
  parses (it carries the required label) and asks only a FK a group may
  place, not one declaring relatedList: true / false.
- The migration entry, the ADR-0035 note and the changeset give the working
  route for an inlineEdit child that is not a plain master_detail
  ('primary' on its FK as well as the group), and say a form view that
  declares its own subforms still inlines them.
- The relatedList describes and JSDoc say the entry form inlines a placed
  table below the record's fields for now, not at the group's position.
- Stale "inlineEdit is the write side" wording updated, and the field
  inspector's dead body-table branch removed.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgTZaMP6gPV6DVStBSU
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Posted 2026-11-20T20:47Z. The DELTA brief handed to the same isolated contract reviewer at CONTRACT_REVIEW_TIER for PR #35921 (delta of its record 7050022547 on 63c286df; the first brief is 7049907580). The record follows as its own comment.

Contract review brief — PR #35921 @ f33aee176ac9a4d0a6c294f4613078b5c6133a37 (card #35889)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --paths packages/spec/src/data/authoring-key-lint.ts packages/spec/src/data/field.form.ts packages/spec/src/data/field.zod.ts packages/spec/src/data/object.form.ts packages/spec/src/data/object.zod.ts packages/spec/src/data/related-list-body-table.ts packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts packages/spec/src/stack.zod.ts docs/adr/0035-config-driven-master-detail.md — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #35889: its body and EVERY comment (rulings and earlier records included)
· PR #35921: its body, its file list, and the net diff against main at f33aee176ac9a4d0a6c294f4613078b5c6133a37
· the check-runs on f33aee176ac9a4d0a6c294f4613078b5c6133a37: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: packages/spec/src/data/authoring-key-lint.ts, packages/spec/src/data/field.form.ts, packages/spec/src/data/field.zod.ts, packages/spec/src/data/object.form.ts, packages/spec/src/data/object.zod.ts, packages/spec/src/data/related-list-body-table.ts, packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts, packages/spec/src/stack.zod.ts, docs/adr/0035-config-driven-master-detail.md;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

Security — a hits path sits on the low-risk skills arm: when the change teaches security, auth or permission
behaviour the path name doesn't show, the record says so and the seat adopting the record adds the security label.
The record says so on its Security-touching: line, and the arm lands on no alone: write no ONLY when no changed
hunk teaches permission, sharing, credential, token, authentication or other security behaviour, else yes.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user/3d3cbaf6-4903-5fed-92d4-c2b94a45e868/scratchpad/pr-35921/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: f33aee176ac9a4d0a6c294f4613078b5c6133a37
Local-runs: none
Scope: packages/spec/src/data/authoring-key-lint.ts, packages/spec/src/data/field.form.ts, packages/spec/src/data/field.zod.ts, packages/spec/src/data/object.form.ts, packages/spec/src/data/object.zod.ts, packages/spec/src/data/related-list-body-table.ts, packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts, packages/spec/src/stack.zod.ts, docs/adr/0035-config-driven-master-detail.md + packages/lint/src/data-model-rules.ts, ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.tsx
Security-touching: no

Delta review at 2026-11-20T20:48Z of 63c286df1d..f33aee176a (one commit, 11 files, +74 / -45) against record 7050022547. Only that diff was read; everything the earlier record judged outside it stands as judged there.

① Derived judgments

  • Accept set and public surface: unchanged by the delta. Right. No schema shape, predicate, export or refusal moves. packages/spec changes are .describe() text, jsdoc and the migration entry's replacement string; api-surface and export-origins are untouched.
  • relationship/line-items-inline-edit: narrower, right. It now also requires isGroupPlaceableRelationship(def), so it stops firing on a master_detail FK declaring relatedList: true or false. It still fires on a plain or 'primary' FK no group names, which is the set whose prescribed group the spec accepts. A suggestion-severity advisory; it refuses nothing.
  • readRelatedListMode: one parameter fewer, no behaviour change. The removed branch could only return 'primary' when isBodyTableRelationship was true with no relatedList and no context, which has been constant false since the first head. Both call sites in the file were updated and no other caller exists under ui/.
  • Generated output follows. content/docs/references/data/object.mdx carries the new describe in both tables, and the spec test pin on the describe text was moved to the new sentence.
  • Gates on this head: not concluded. At the time of reading, the head has 25 check-runs: 20 in_progress, 5 skipped, none failed, none succeeded yet; the test and build shards had not been created. What stands: the earlier head's all-green verdicts cover every file this delta does not touch. They do NOT cover this head. This record judges the design only; the seat reads the conclusions on f33aee176a before adopting it, and a red gate there is outside this record.

② Semver level

Clause-②: yes (widening). Unchanged and still correct: the delta adds or removes no export and changes no accepted value. Metadata-protocol: semantic and the minor levels stand. The changeset body gained two sentences (the lint wording, and the route for non-placeable inlineEdit children); both match the code.

③ Boundary flags

④ Design judgment

S1: closed. Checked against isGroupPlaceableRelationship and fieldGroupBodyTableRefusal, not against the claim. The migration replacement now says a group may name only a list it can place; that an inlineEdit child on a lookup FK or on a FK declaring relatedList: true needs relatedList: 'primary' plus the group (true: 'primary' is placeable on either type); that a master_detail FK may instead drop relatedList: true (true: it becomes a plain master-detail); that a FK declaring false hides the list and a group naming it is refused with related-list-group-not-body (true); and that a form view declaring its own subforms still inlines what it declares (true: attachInlineSubforms keeps explicit form.subforms). The ADR-0035 note carries the same route and scopes "exactly where a parent field group names it" to the form "as derived from its relationships". The changeset repeats it.

S2: closed. object.zod.ts describe and jsdoc, field.zod.ts jsdoc and the related-list-body-table.ts header now say the record page and its edit state take the table at the group's position and the parent's entry form inlines it below the record's fields until the form places it at the group. That is what attachInlineSubforms does on this head. No sentence left in the delta claims a form position.

S3: closed. The printed fix is { key, label, relatedList }; the label is the child object's own label, or its name, with backslash and single quote escaped, so the snippet stays a valid literal. The new pins check the right things: the printed group parses under ObjectFieldGroupSchema, the label-less one does not (a control), a parent carrying the printed group silences the rule, and the rule is silent for relatedList: true and false.

N1: done (the relatedList jsdoc and the module header no longer call inlineEdit the write side). The describe's opening words "(read-side mirror of inlineEdit)" remain; still a nit, no effect on the contract. N2: done. N3: left.

I looked for a new problem in the changed lines and found none: the lint narrowing cannot hide a case the old rule rightly reported (for the two skipped cases the prescription was itself refused), and the inspector's default mode was already shown for every FK.

No must-fix, no should-fix.

Implemented-by: claude/project-thread-4gy3q0
Reviewed-by: L2 sub-agent of session_01L6bhgUkbQqRUUFSiu2HGob (isolated, CONTRACT_REVIEW_TIER)

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP

维护者速读

席位核对 — delta ACCEPT (L1-c) · repo:objectstack#1 · head f33aee176a · 2026-11-20T21:19Z

This record covers the delta from my ACCEPT 7049938266 at 63c286df to f33aee17: one commit with the Fable S1–S3 text and lint fixes. I read every prose line sentence by sentence.

  • Migration, ADR and changeset. The semantic/18 migration's replacement text, the ADR-0035 note and the changeset now give the route for lookup and relatedList: true inlineEdit children. They also say that form views declaring a subform still edit inline. The printed migration text still cites no #id, so the cli guidance test holds.
  • Describes. The field.zod.ts, object.zod.ts and object.mdx describes say "below the fields until the form places it", which is true of isBodyTableRelationship / keepsTab.
  • Lint R5. It prints a parseable group reference with its label and fires only for placeable FKs (isGroupPlaceableRelationship). The parse pin and a CONTROL pin are added.
  • Studio. ObjectFieldInspector readRelatedListMode drops the dead body-table default argument. No behaviour changes, because no caller passed it.
  • Gates and reviews. At f33aee176a: 61 success, 9 expected skip, 0 failed, 0 pending. l1-face flags only @objectstack/cli, whose one touched file is packages/cli/test/data-model-rules.test.ts. That file does not ship, so no entry is owed, as in my earlier records. mergeable_state is clean. Fable L2 PASS 7050264709 is on this head.
  • Landing terms. As before: docs/adr/** makes this Tier H, so os-zhuang approves it and the seat lands. Part of #35889: the card stays open for S2.

Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Tier H approval request · 2026-11-20T21:22Z · @os-zhuang, this PR is ready for your Tier H review on head f33aee176ac9a4d0a6c294f4613078b5c6133a37.

What it does: on the record page, a master_detail child now shows by default as a tab with its count, not as a table in the overview. It goes into the overview and the form only when one of the parent's field groups names it (maintainer ruling B, 「一律只看分组」). An explicit relatedList: 'primary' keeps its current meaning. A semantic migration entry (18) tells an author what changed and how to keep a table in the overview. ADR-0035 gets a note. The Tier H trigger is that note, because it edits one existing line of docs/adr/0035-config-driven-master-detail.md.

The seat lands after your approval (ruling C, 2026-09-13).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Posted 2026-11-21T04:05Z. The DELTA brief for a merge-only round on PR #35921 (from the delta PASS 7050264709 on f33aee17), handed to an isolated reviewer at CONTRACT_REVIEW_TIER. The record follows as its own comment.

Contract review brief — PR #35921 @ 863793e9a9501507274c9756672e97667cb32eea (card #35889)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --paths packages/spec/src/data/authoring-key-lint.ts packages/spec/src/data/field.form.ts packages/spec/src/data/field.zod.ts packages/spec/src/data/object.form.ts packages/spec/src/data/object.zod.ts packages/spec/src/data/related-list-body-table.ts packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts packages/spec/src/stack.zod.ts docs/adr/0035-config-driven-master-detail.md — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #35889: its body and EVERY comment (rulings and earlier records included)
· PR #35921: its body, its file list, and the net diff against main at 863793e9a9501507274c9756672e97667cb32eea
· the check-runs on 863793e9a9501507274c9756672e97667cb32eea: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: packages/spec/src/data/authoring-key-lint.ts, packages/spec/src/data/field.form.ts, packages/spec/src/data/field.zod.ts, packages/spec/src/data/object.form.ts, packages/spec/src/data/object.zod.ts, packages/spec/src/data/related-list-body-table.ts, packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts, packages/spec/src/stack.zod.ts, docs/adr/0035-config-driven-master-detail.md;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

Security — a hits path sits on the low-risk skills arm: when the change teaches security, auth or permission
behaviour the path name doesn't show, the record says so and the seat adopting the record adds the security label.
The record says so on its Security-touching: line, and the arm lands on no alone: write no ONLY when no changed
hunk teaches permission, sharing, credential, token, authentication or other security behaviour, else yes.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user/3d3cbaf6-4903-5fed-92d4-c2b94a45e868/scratchpad/pr-35921d/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

DELTA CONTEXT — merge-only round. The last record at this tier is the delta PASS 7050264709 on f33aee176ac9a4d0a6c294f4613078b5c6133a37 (brief 7050256352), with no open must-fix or should-fix; the maintainer's Tier H APPROVED review is on that head (2026-11-21 03:07:46Z). Since then the branch merged origin/main once (head 863793e9a9501507274c9756672e97667cb32eea). The one hand-resolved conflict is the fieldGroups[].relatedList .describe() text in packages/spec/src/data/object.zod.ts, where main's "and so is a fields list on it" (PR #35925) was kept beside this PR's wording. Regenerated: api-surface, export-origins and the reference docs. Judge: (a) the resolved description says both rules truly and agrees with the code on the merged tree; (b) the regenerated files match what the merged source produces (read, don't run); (c) nothing else in this PR's net diff against main changed except what the merge brought in. Name each earlier finding still closed, and grade anything new.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP

维护者速读

  • 只是把最新 main 合进来:冲突只有一句字段分组 relatedList 的说明,两边的意思都保留了。CI 全绿,L1 通过。
  • 要你做什么:现在不需要(os-zhuang 的批准已在上一 head)。

席位核对 — merge delta ACCEPT (L1-c) · repo:objectstack#1 · head 863793e9a9 · 2026-11-21T04:06Z

This record covers the delta from my ACCEPT 7050892872 at f33aee17 to 863793e9: one merge of origin/main at 8500ee79, which brings in #35925 and others. I read it with git show --remerge-diff.

  • The only hand resolution is the ObjectFieldGroupSchema.relatedList .describe() in packages/spec/src/data/object.zod.ts (~1430), with its generated twin in content/docs/references/data/object.mdx, which appears twice there. The resolved text is the union of both sides:

    Nothing else in the sentence moved. The two clauses are independent: a relatedList group holds no fields, so feat(spec): a field group lists its own members and order (fieldGroups[].fields) #35925's fields lists cannot interact with this PR's tab rule.

  • Everything else auto-merged. --remerge-diff shows no other file differing from the automatic merge, so the regenerated api-surface/data.json, export-origins/data.json, field.mdx and migration.mdx equal what git merged.

  • Gates. At 863793e9a9: 61 success, 9 expected skip, 0 failed, 0 pending. mergeable_state is clean. l1-face flags two things:

    • @objectstack/cli, whose one file is the test packages/cli/test/data-model-rules.test.ts and does not ship, as in my earlier records;
    • the ready state, which is the seat's.
  • Landing terms. Unchanged: Tier H via docs/adr/**. os-zhuang's APPROVED is on f33aee17, and this delta is a merge with one union-resolved describe. Part of #35889.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Posted 2026-11-21T04:09Z.

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 863793e9a9501507274c9756672e97667cb32eea
Local-runs: none
Scope: packages/spec/src/data/authoring-key-lint.ts, packages/spec/src/data/field.form.ts, packages/spec/src/data/field.zod.ts, packages/spec/src/data/object.form.ts, packages/spec/src/data/object.zod.ts, packages/spec/src/data/related-list-body-table.ts, packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts, packages/spec/src/stack.zod.ts, docs/adr/0035-config-driven-master-detail.md + ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts, ui/packages/app-shell/src/views/RecordDetailView.tsx, ui/packages/app-shell/src/views/studio-design/ObjectGroupInspector.tsx, ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.tsx
Security-touching: no

Merge-only delta of record 7050264709 (PASS on f33aee176a, no open must-fix or should-fix) under brief 7057032610. Read: card #35889 and its six comments, PR #35921 (body, file list), the merge commit 863793e9a9 (parents f33aee176a and main at 8500ee79dc), the PR's net diff against each merge base, and the check-runs on the head. Nothing was built or run. The four implementing files named after + are the ones the merge touched on both sides and that carry this PR's rule; they were re-read in the merged tree. Everything else stands as records 7050022547 and 7050264709 judged it.

① Derived judgments

  • The PR's net diff is the same change it was. Right. The diff of f33aee176a against its old base (f44758b21e) and the diff of 863793e9a9 against the main it merged (8500ee79dc) list the same 51 files with the same totals (+1001 / -397). Compared line by line, the added and removed lines are identical except in three places, all the one sentence: the fieldGroups[].relatedList .describe() in packages/spec/src/data/object.zod.ts and its two generated rows in content/docs/references/data/object.mdx. No other line of the PR's own change moved in the merge.
  • The resolved description says both rules, and both are enforced on the merged tree. Right. The text on the head reads "A group with relatedList holds no fields: a field that names it as its group is refused, and so is a fields list on it." Against the old head the only change is the added clause "and so is a fields list on it" (main's feat(spec): a field group lists its own members and order (fieldGroups[].fields) #35925). Against main the only change is this PR's clause on the plain master_detail FK ("which is a tab unless a group places it; placed, it is drawn here, and the parent's entry form inlines it below the record's fields until the form places it at the group as well"). The first rule is refuseFieldsInRelatedListGroups, the second is the relatedList branch of refuseFieldGroupMembershipConflicts (issue at ['fieldGroups', i, 'fields']); the object's superRefine calls both, one after the other. The jsdoc above the key carries the same two rules and this PR's wording together.
  • Accept set and public surface: unchanged by the merge. Right. No predicate, schema shape, refusal or export of this PR moved. Against the merged main, packages/spec/api-surface/data.json still gains exactly BodyTableContext, fieldGroupsPlaceRelationship and isGroupPlaceableRelationship, and export-origins/data.json the same three, each pointing at src/data/related-list-body-table.ts, which exports them. Nothing is lost.
  • Regenerated output matches the merged source (read, not run). Right. Both relatedList rows in content/docs/references/data/object.mdx equal the merged .describe() string character for character. The en and zh-CN metadata-forms bundles carry main's new fields help row and this PR's relatedList help row side by side. The describe pin in record-page-describes.test.ts still names sentences present in the merged text.
  • No new reader of the changed predicate arrived with main. Right. In the merged tree isBodyTableRelationship has one caller outside the spec (deriveRelatedLists, which passes the parent's groups); every other reader goes through isGroupPlaceableRelationship with fieldGroupsPlaceRelationship. The commits main brought in add no caller that would read the old one-argument meaning.
  • The migration entry's number is still its own. Main added semantic/18.seal-default-chain-column-refused; the file names differ and the registry rows in content/docs/references/system/migration.mdx merged without overlap.
  • Gates. Every check-run on 863793e9a9 concluded success, or skipped for the opt-in, schedule and queue-verdict jobs; none failed. Check Changeset, Governed Surface Queue Guard, Spec property liveness, all Type Check families, Test Core 1-10, Test UI 1-16, Build Docs, Build Core, Live E2E UI and the Dogfood Regression Gate are green on this head. That also answers the open point of record 7050264709, whose gates had not concluded when it was written.

② Semver level

Clause-②: yes (widening). Unchanged and still correct: three added exports and one optional parameter on @objectstack/spec/data, nothing removed or tightened. Metadata-protocol: semantic and the minor levels in .changeset/35889-master-detail-tab-by-default.md stand; the merge did not touch the changeset. The refusal named by the new clause ("a fields list on it") is main's (#35925) and is declared there, not by this PR.

③ Boundary flags

④ Design judgment

packages/spec/src/data/object.zod.ts: holds on the merged tree. I tried to break the merged sentence against the code in three ways. (1) A table group that lists fields: refused with a located issue, as the sentence says. (2) A field whose group names a table group: refused, as before. (3) Whether main's fields list changes which children a group places: it does not; fieldGroupsPlaceRelationship reads a group's relatedList alone, and a table group can hold no fields, so the two keys never meet on one group. object.form.ts agrees: the fields row says "Not allowed with Related List", and the relatedList row keeps this PR's sentence.

The four implementing files the merge touched on both sides (buildDefaultPageSchema.ts, RecordDetailView.tsx, ObjectGroupInspector.tsx, ObjectFieldInspector.tsx): this PR's hunks sit unchanged in main's new context. keepsTab still keeps a group-placed plain master-detail table on the tab row and a 'primary' one off it; the Studio picker still offers isPlaceable relationships; the comments describing the rule still match deriveRelatedLists.

The other hits files (authoring-key-lint.ts, field.form.ts, field.zod.ts, related-list-body-table.ts, the semantic/18 entry, stack.zod.ts, ADR-0035): this PR's hunks are byte-identical to the head record 7050264709 judged. Main's own change to field.zod.ts (the group key's description, #35925) does not meet them.

S1: closed
S2: closed
S3: closed

N1, N2 and N3 stand as record 7050264709 left them (N1's remaining words and N3 accepted as nits, N2 done). Nothing new to grade.

No must-fix, no should-fix.

Implemented-by: claude/project-thread-4gy3q0
Reviewed-by: session_01L6bhgUkbQqRUUFSiu2HGob

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Seat landing after Tier H approval · 2026-11-21T04:39Z · os-zhuang APPROVED this PR at 2026-11-21T03:07:46Z on f33aee17. The branch then merged main once, at the maintainer's request, to clear a conflict (head 863793e9). The one hand-resolved line is the fieldGroups[].relatedList description in object.zod.ts, which now keeps both rules (main's "and so is a fields list on it" from PR #35925, and this PR's plain master_detail clause); api-surface, export-origins and the reference docs were regenerated.

  • Merge-only reviews on this head: L1-c merge delta ACCEPT 7057036742, and contract review delta PASS 7057076349 at CONTRACT_REVIEW_TIER (brief 7057032610), with S1–S3 still closed and nothing new.
  • The ruleset does not dismiss stale approvals, and the queue guard accepts an approval on any commit (ruling 2026-09-04).
  • check-governed-merges --pr 35921 reads Tier H; landing-k reads K = 5. On this head, 61 check-runs are success, 9 are skipped and none failed, and the PR is mergeable clean.

The seat removes pm:awaiting-merge and arms auto-merge (ruling C, 2026-09-13). The PR carries Part of #35889; S2 follows in a new session.

@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 21, 2026
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit f3c9d42 Nov 21, 2026
73 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-4gy3q0 branch November 21, 2026 05:09
github-merge-queue Bot pushed a commit that referenced this pull request Nov 21, 2026
…ts field group (#36009)

<!-- claude-projects-attribution: {"github_login":"os-sales"} -->
_Requested by **Sales** · [project
thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuFchBCV6Umg5wxjoKhT7QkV)_

repo:objectstack#1 · os-sales · session_01L6bhgXUMw7b8gUmNsyoXHR

Fixes #35889

Slice S2 of #35889 (S1 = #35921, merged as f3c9d42). Claim 7057842463.
Area b1-R2.

## 维护者速读

- **用户看到的变化**:主对象的字段分组指定了主从子表(例如报销单的「Expense
Lines」分组排在「Report」和「Totals」之间)时,新建和编辑表单里这张明细表现在就出现在这个分组的位置,和记录页一致;以前(S1)它总是排在所有字段的最下面。
- **分组导航条**:表单顶部按分组跳转的导航条,现在也在明细表这一站停(例如 Report / Expense Lines /
Totals)。
-
**分页签表单**:明细表在分组的位置单独成一个页签,页签名用分组的名字。**向导表单**:主从向导本来就按简单表单画,跟简单表单一样放到分组位置。
- **不变的**:没有分组指定的子表(表单视图自己写的 subforms)、以及 sections
跟字段分组对不上的表单,明细表照旧在最下面;主记录和明细一次保存、合计在表单底部、展开一行的编辑框跟着明细表走。不改任何元数据写法。
- 本 PR 收尾 #35889(`Fixes`)。

## What changes

A master-detail collection that a field group of the parent places
(`fieldGroups[].relatedList`) is now drawn at that group in the parent's
create and edit forms, where the record page draws it, instead of below
every field of the record.

- **Form slots** (`ui/packages/plugin-form/src/formSlots.ts`, new).
`MasterDetailForm` hands its header `ObjectForm` a runtime-only list of
its collections (package-local hand-off type, not on the
`ObjectFormSchema` authoring face). `placeFormSlots` lays them out among
the form's sections by the record page's rule (`bodyTablePlacement`):
after the sections of the groups declared before the placing group,
before those declared after it; a section that names no declared group
(the ungrouped bucket) counts as after every group. A layout none of
whose sections names a declared group places nothing.
- **Simple form** (`ObjectForm.tsx`): each placed collection becomes a
`form-slot` row in the one field list, between the sections. The form
renderer (`ui/packages/components/src/renderers/form/form.tsx`) draws
that row as an empty full-width element; no new export.
- **The slot's controls are not the header form's**: the slot element
sits inside the header's `<form>`, so `FormSlotPlacement` wraps the
portaled collection in a form of its own (`noValidate`, a disabled
hidden default button, submit prevented). The header's `requestSubmit()`
then validates only its own fields (a line cell's bad input never blocks
Save with a browser bubble), a line button without a `type` (the shared
`Button` sets none) never submits the header, and Enter in a line cell
submits nothing: the lines behave as they did below the form, owned by
no header form. The renderer's reveal of an errored field
(`fieldWrapper`) skips what a host drew into this form's slot rows,
while an editor inside a slot still finds its own fields.
- **Section bar**: a slot row carries its group's (translated) label,
once per group, and the form renderer reports a labelled slot to the
host's section navigation (`FormSectionNavContext`, #34605) between the
headings around it, with the slot element as its anchor. An unlabelled
slot is no stop.
- **Tabbed form** (`TabbedForm.tsx`): a placed collection is a tab of
its own at its group's position, labelled with the group's (translated)
label. A master-detail wizard is already drawn as the simple form
(`ObjectForm`'s master-detail route), so it places the same way.
- **The collection is drawn by `MasterDetailForm`** into the slot
through a portal (`FormSlotPlacement`, a `FormSlotStore` per form in a
ref), so the lines stay out of the header's React tree: a header
keystroke still never re-renders them and they never re-render the
header. The header reports which collections its drawn layout claims
(never while it is loading), so a collection no layout claims stays in
its old place below the fields, and a remounting header (after a create)
does not make the lines jump below and back. An expanded row's editor
opens in the same slot, beside its collection. The header scrape for the
lines' `parent.*` rules skips the slot's inputs. The document totals
stay at the foot of the form.
- **Texts S1 left** ("below the record's fields until the form places it
at the group"): `ObjectFieldGroupSchema.relatedList` describe and jsdoc,
`FieldSchema.relatedList` jsdoc, the `related-list-body-table.ts` header
and its describe pin, the regenerated
`content/docs/references/data/object.mdx`, the acceptance line of
migration entry `semantic/18.master-detail-related-list-tab-by-default`,
and S1's changeset line. **ADR-0035**: one add-only note after the third
note; S1's sentences are left as written (the note says which one it
supersedes).
- `object.form.ts`'s group help ("The parent's create and edit forms
inline the table too …") makes no position claim, so it is unchanged and
its bundles are not regenerated.

## Why

Card #35889, acceptance line 2:
「同一个对象,加一个指向这张子表的分组并排在第二位:记录页字段区的第二个分组位置出现这张表;新建、编辑表单同一位置出现;页签里仍有它。」 S1
delivered the record page half; this delivers the form half, as agreed
in the split.

## Verification

Head 97afed5: main merged in after #35984 landed (three keep-both
hunks in `MasterDetailForm.tsx`, nothing else). The reviews below were
read at 84dc199. On the merged tree, `tsc` in plugin-form is clean and
the plugin-form + form-renderer suites pass (332 files, 3354 passed / 18
skipped).

- **Form ownership (L1-c should-fix)**: a DOM pin asserts every control
in the slot has a form other than the header's and clicking each line
button fires no header `submit` (red without the wrapper);
`form-invalid-scroll.test.tsx` pins that the reveal of an errored field
lands on the form's own field, not a same-named field drawn into a slot
(red without the filter). Real browser (`owner-check.cjs`): 12 slot
controls, 0 owned by the header; Enter in a cell and Add line make no
header submit and no write; with letters in a line's Amount cell
(`validity.badInput`), Create reaches the app's own check ("Amount is
required", bad cells marked) with no browser bubble. Suites after the
fix: 331 files, 3343 passed / 18 skipped; `tsc` clean in plugin-form and
components.
- **New pins (13)**: `formSlots.test.ts` (placement order, a group
declared last, entry reading, nothing placed, slot store),
`MasterDetailForm.groupPlacement-35889.test.tsx` (simple form between
the groups around its group, an unplaced collection below the form,
placed last, edit mode with loaded lines at the group and drawn once,
save batch, tabbed form tab order with the collection in its tab), and
one case in `form-section-nav-34605.test.tsx` (a labelled slot is a
section-bar stop between the headings, an unlabelled one is not).
- **Ablation**: dropping the placement (the header claims nothing) turns
4 of the DOM pins red; dropping the slot from the section-bar report
turns the nav pin red. Restored, green.
- **Suites**: `vitest run packages/plugin-form
packages/components/src/renderers/form` 331 files, 3335 passed / 18
skipped; after merging main, `FormSectionNav` (#35988) + `ModalForm` +
the new pins 8 files / 63 passed. `packages/spec` tests green;
`check:generated` clean after the object.mdx regeneration.
- **Static**: `tsc --noEmit` clean in plugin-form and components; eslint
on the changed files 0 errors.
- **Browser** (real Console on the showcase expense report, New form;
light and dark at 1280 px, light at 375 px):
- default form: Report section, then the Expense Lines grid inside the
form;
- with a temporary, uncommitted Totals field: Report, Expense Lines,
Totals in that order, and the section bar reads Report / Expense Lines /
Totals;
- temporary tabbed form view: tabs Report / Expense Lines / Totals, the
grid in the Expense Lines tab;
  - temporary wizard form view: drawn as the simple form, same order.
  All temporary edits were reverted before commit.

Clause-②: no
Metadata-protocol: none

## DELIBERATE CORRECTION (pending release note)

`Check Changeset` is red by design: this PR rewrites one line of a
pending release note it did not add, because the behaviour that line
describes is the behaviour this PR changes. Restoring it would republish
a false sentence.

- Note: `.changeset/35889-master-detail-tab-by-default.md` (S1, #35921,
unreleased).
- Before: "In the entry form a placed table still sits below the
record's fields, where `inlineEdit` tables sit today. Moving it to its
group's place in the form is a follow-up."
- After: "In the entry form a placed table sits at its group's place
too: between the sections of the groups around it, or in a tab of its
own (labelled with the group) in a tabbed form. A form whose sections
name no field group keeps it below the record's fields."

No other line of that note changes. The seat confirms this through its
same-head contract-review record (landing-operations.md).

## Follow-ups (not in this PR)

- `bodyTablePlacement` (plugin-detail) and `placeFormSlots`
(plugin-form) now spell the same ordering rule twice; a shared pure
helper would need a new export (spec or a shared ui package), so it is
left as a candidate card rather than widening this PR.
- A form section that references the placing group itself (`sections: [{
group: 'lines' }]`) still resolves to nothing (the group holds no
fields); unchanged here.
- After a jump, the section bar's brief highlight
(`data-section-jumped`, #35988) styles heading rows only, so a jump to
the table scrolls to it without the flash.
- Neighbours: #35984 also edits `MasterDetailForm.tsx` (textual
conflict, whichever lands second merges); #35923 edits `docs/adr/0035`.

## Human Minimum

- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
- [x] 2. Every name I added uses the casing for its kind.
- [x] 3. No formatter ran; `pnpm lint` passes.
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset.
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed.
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English.
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01L6bhgXUMw7b8gUmNsyoXHR

<!-- signed: repo:objectstack#1 · os-sales ·
session_01L6bhgXUMw7b8gUmNsyoXHR -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
This was referenced Nov 21, 2026
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
… tabs by object name and per-entry title and columns (objectstack-ai#35923)

<!-- claude-projects-attribution: {"github_login":"os-sales"} -->
_Requested by **Sales** · [project
thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4Uu8asiBATVNp4pogcic92dHU)_

repo:objectstack#1 · os-sales · session_01L6bhgTgsPwrw3VbvRRcqth

Fixes objectstack-ai#35897
Fixes objectstack-ai#35899

Clause-②: yes (widening)
Metadata-protocol: semantic
Skills-docs: follow-up objectstack-ai#35902
(skills/objectstack-data/rules/relationships.md,
skills/objectstack-ui/rules/record-page.md)

## 维护者速读

- 对象声明了 `relatedLists`,详情页的标签页就只显示列出的相关列表,按列出的顺序;没列的不再显示。没声明(或为空)时完全不变。
-
三个内置标签用对象名放置:`sys_attachment`(附件)、`sys_approval_request`(审批)、`sys_activity`(活动流);附件不列就不显示,审批和活动流不列时仍排在末尾。
- 每一项可写 `{ list, label, columns }` 给该列表自己的标题和列;列名不是子对象字段会被 `os
validate`、`os build` 和元数据写入口拒绝。
- 字段分组放进概览的主从明细表(objectstack-ai#35889):没声明 `relatedLists`
时既在概览里、也保留页签;声明了但没列它,就只在概览里,不出页签(席位裁定 7048340194)。
- Studio
对象设置里可以排页签、加内置标签、给每一项改标题和列;保存时保留对象写法和内置名。对象没开文件时,附件不出现在可选项里,已列的附件会提示不会显示。
- 元数据管理里的通用对象表单也能正确显示和编辑这张页签表了(之前遇到带标题和列的一项会出错);条目的列可以写
`account.industry` 这种跨关系的写法,和外键上的写法一致。
- 其他包加进来的子表也一样:父对象声明了 `relatedLists` 却没列它,就不显示页签;让扩展包自己放置列表的做法在 objectstack-ai#35901。
- 风险:已经声明了部分 `relatedLists` 的应用,没列的标签会消失(仓库内无此类对象;已部署的元数据未测量)。

## What changes

An object's declared `relatedLists` becomes its record page's tab list
(epic objectstack-ai#35896):

```ts
relatedLists: [
  { list: 'quote_line', label: 'Line items', columns: ['product', 'quantity', 'unit_price', 'amount'] },
  'task',
  'sys_attachment',
  'sys_approval_request',
  'sys_activity',
],
```

- **spec** (`packages/spec/src/data/object.zod.ts`, new
`related-list-entry.ts`): an entry is the bare name or `{ list, label?,
columns? }` (strict, with aliases and guidance). The three built-in tabs
are named by object: `sys_attachment`, `sys_approval_request`,
`sys_activity`. A built-in is written only as its bare name; the object
form naming one is refused at parse (a regex, so the published JSON
schema keeps the refinement). `defineStack`'s name check skips
built-ins. The shared helpers `RECORD_PAGE_BUILTIN_TABS`,
`isRecordPageBuiltinTab`, `relatedListEntryName` and
`RELATED_LIST_BUILTIN_PART_OF` are the one reading of an entry's name
for every reader.
- **lint** (`validate-related-list-refs`): new
`related-list-column-unknown` (error: a column that is no field of the
child, registry-injected columns included),
`related-list-attachments-off` (warning: `sys_attachment` on an object
without `enable.files`) and `related-list-stream-part` (warning:
`sys_comment` / `sys_audit_log` are parts of the stream; prescribes
`sys_activity`). The same rule runs at `os validate`, `os build` and the
metadata write door.
- **record page** (objectui):
- `deriveRelatedLists`: on a declared non-empty `relatedLists`, an
unlisted side list shows no tab. Body tables a field group places are
kept, and `relatedList: false` on the FK still hides a list. An entry's
`label` / `columns` win over the FK's `relatedListTitle` /
`relatedListColumns`.
- `buildDefaultPageSchema` (`arrangeDeclaredTabs`): tabs follow the
declared order. An unlisted attachments tab is dropped. Unlisted
approvals follow the listed tabs. An unlisted stream closes the strip.
The overview stays first.
  - `recordPageColumns`: the related column keeps that one order.
- With objectstack-ai#35921 merged: a `master_detail` table that a field group places
in the overview keeps its tab only while `relatedLists` is undeclared or
lists it. A declared `relatedLists` that leaves it out shows it in the
overview with no tab (seat ruling 7048340194 on objectstack-ai#35897). objectstack-ai#35921's
ADR-0035 note and `semantic/18` acceptance text are qualified to say so.
objectstack-ai#35921's changeset stays as main has it; this PR's own changeset narrows
it in one sentence (0215faf).
- **Studio** (`RelatedListsEditor`,
`relatedListVocabulary.acceptTabListEntries`): the object settings panel
edits `relatedLists` as the tab list. Object entries and built-in names
survive every move, removal and add. The add picker offers the built-ins
by name (attachments only when `enable.files` is on), then the unlisted
relationships. A relationship row edits its own title and columns;
clearing both writes the bare name again. A listed attachments tab on an
object without files shows a notice. The preview draws the tabs in
order, built-ins included. New strings in `@object-ui/i18n` (en, zh).
- **FLS mask** (`object-schema-fls-references.ts`): `relatedLists`
entries stay unmasked like `lookupColumns`: the columns are the child's
fields, the label is author text, and the built-ins are object names. A
pin test covers an entry whose column shares a denied field's name.
- **migration**: ADR-0087 semantic entry
`related-lists-declared-is-tab-list`. No D2 conversion, because which
unlisted lists an author still wants is recorded nowhere.
- **ADR notes**:
- ADR-0085 gets a dated note: §2's hide/re-arrange guard yields for
`relatedLists` only, per the maintainer's ruling.
  - ADR-0035 gets a dated amendment.
  - Both were drafted at the opus tier under the quota exemption.
- Generated references, the API surface, liveness children (`list`,
`label`, `columns`) and the strictness ledger counts are regenerated.

**Tier H**: this PR touches `docs/adr/**`.

## Why

The maintainer ruled that the record page's tabs are declared on the
parent object in one place: removing an entry removes its tab,
`relatedLists` is that list, and the three built-in tabs are named by
their objects. Before this change, a declared `relatedLists` only
ordered the lists: every unlisted list still followed, and the built-ins
always closed the strip in a fixed order.

## Tests

- spec: `stack-related-lists-order.test.ts` (object entries, built-ins,
the parse refusal, `defineStack`); new `related-list-entry.test.ts`.
- lint: `validate-related-list-refs.test.ts` (built-ins, both warnings,
unknown and injected columns); `rule-explanations` covers the three new
ids.
- metadata-core: `object-schema-fls-references.test.ts` (objectstack-ai#35899 entry
pin).
- Studio: new `ObjectSettingsPanel.relatedListsTabList-35897.test.tsx`
(5 tests); `ObjectSettingsPanel.relatedListsOrder-27054.test.tsx`
expects the built-in add options.
- ui: `buildDefaultPageSchema.test.ts`, new describe `declared
relatedLists arranges the tabs (objectstack#35897)`;
`deriveRelatedLists.relatedListsOrder-27069.test.ts`. Three tests that
pinned the old "unlisted lists follow" meaning now pin the new one: two
in the 27069 file, the 27241 case in `RecordDetailView.harness.test.tsx`
(with a new all-listed control), and the page-order expectations in
`ObjectSettingsPanel.relatedListsOrder-27054.test.tsx`. The 27069 file
also pins the ruling: a group-placed `master_detail` table keeps its tab
when `relatedLists` is undeclared or lists it, and loses only the tab
when unlisted.

## Acceptance notes

On the record page of each object that declares `relatedLists`, the tabs
after the overview are the listed related lists and built-in tabs, in
the listed order. Then come approvals, if unlisted and the record has
requests, and the activity stream last. An object that declares no
`relatedLists` shows the same tabs as before. In-repo census: no
example, platform object, dogfood fixture or HotCRM object declares
`relatedLists` today.

## Verification

On `462477f8` (the fixes above): `@objectstack/lint` 222 files / 9,369
tests passed; `@objectstack/platform-objects` 125 files / 2,126 tests
passed; `@objectstack/spec` `src/data`, `src/migrations`, `src/stack`
230 files / 7,961 tests passed; `check:generated --fix` regenerated
`content/docs/references/**` and is clean; `check-i18n-bundles --write`
clean; ui vitest on all of `app-shell/src/views/metadata-admin` and
`ObjectSettingsPanel*`: 772 files, two failures in the first run, both
resolved (the 9931 registry table, now carrying the new key, 40 passed;
`AddWidgetPicker.oneRegistry-26745` passes alone, 7 passed, and the diff
does not touch it).

On the merged head 3434287 (main 6c7c6db merged into 473c7ff;
conflicts listed below; 0215faf then touches only `.changeset/`):
`@objectstack/spec` test 961 files / 29,439 tests passed and
`check:generated` clean after `--fix` (it regenerated
`content/docs/references/**` and the liveness counts);
`@objectstack/lint` 222 files / 9,363 tests passed;
`@objectstack/metadata-core` 1,048 tests passed; ui vitest (from `ui/`)
on `app-shell` deriveRelatedLists, `RecordDetailView.harness`,
`ObjectSettingsPanel*`, `plugin-detail` synth and all of
`@object-ui/i18n`: 133 files / 2,389 tests passed. The whole app-shell +
plugin-detail suites ran past the local time limit and are left to CI.

Main merge conflicts and how they were resolved: `docs/adr/0035` keeps
both notes (this PR's 2026-11-20 amendment, then main's 2026-11-21
second-slice form note); `semantic/18` acceptance text carries both
qualifiers (the declared-`relatedLists` tab rule from this PR, the
same-place/tabbed-form wording from objectstack-ai#36009); Studio `en`/`zh` keep this
PR's tab-list wording and drop `highlightPreview` as objectstack-ai#36020 did;
`content/docs/references/{api/metadata,data/object,system/migration}.mdx`
and `liveness/state-counts/object.md` were regenerated, not hand-merged.

On 473c7ff, before this merge: `@objectstack/spec` test 2355 files
passed, `check:test-typecheck` and `check:generated` clean;
`@objectstack/lint` 868 files passed; `@objectstack/metadata-core` 222
files passed; `@object-ui/plugin-detail` 105 files passed;
`@object-ui/app-shell` 394 files passed; `@object-ui/i18n` 27 files
passed. Earlier runs:

- `pnpm --filter @objectstack/spec test` on the touched files;
`check:generated`; `check:liveness`.
- `pnpm --filter @objectstack/lint test` (validate-related-list-refs,
runtime-gate, rule-explanations).
- ui vitest (from `ui/`) on the touched plugin-detail / app-shell files:
7 files, 227 passed. A wide app-shell + plugin-detail run had no other
failures.
- Typecheck: spec, lint, plugin-detail and app-shell `type-check`.
- `dispatch-gates.mjs --commands` derived list (128 commands) run
locally: 126 green (two of them after building their inputs). Two are
prerequisite refusals that measure nothing here, left to CI:
`check-plugin-teardown-shape --self-test` (needs a full clone),
`check:dual-build-cjs-loads` (needs a whole-repo build). An ADR-0122
alias finding was fixed in da074fd.

## Fable L2 fixes (record 7071342837, at `0215fafa`)

- **M1** (`f5b256d4`): the object form's `relatedLists` row
(`packages/spec/src/data/object.form.ts`) now names a new
`related-list-entries` widget
(`ui/packages/app-shell/src/views/metadata-admin/widgets.tsx`, labelling
`control`). It renders a bare name and an object entry alike (the
entry's title and columns beside its name), keeps every entry's stored
form on add and remove, refuses a second entry for a name an object
entry already places, and removes the key with the last entry. The help
text states the tab-list meaning, hand-written in all ten translated
locales (`platform-objects` metadata-forms bundles), and the zh label is
记录页页签 in both the bundle and `metadata-form-zh-cn.ts`. Pinned by
`RelatedListEntriesWidget-35923.test.tsx` (the published row names the
widget; an object entry renders; remove/add keep it); the three
widget-registry tests (`widgetLabelling`,
`controlWidgetGridNaming-9889`, `controlWidgetFailureArmNaming-9931`)
carry the new key.
- **S1** (`f5b256d4`): `validate-related-list-refs` walks a dotted entry
column through `resolveFieldPath` from the child, as
`validate-object-field-refs` walks `relatedListColumns`; an unjudgeable
path stays unjudged. Test: `lead_id.name` passes, `lead_id.nope` and
`nope_id.name` are `related-list-column-unknown`. The spec `describe`
and the rule header say so.
- **S2** (`f5b256d4`): the `relatedLists` `describe` and jsdoc, the
ADR-0035 and ADR-0085 notes and the `related-lists-declared-is-tab-list`
migration entry state that a child list another package adds is hidden
too until the parent names it (accepted at build only when that package
is in the parent's stack), and that an extension package placing its own
list is objectstack-ai#35901. No lint hint added: the case has no stack-side signal to
warn on.
- `db548f41`: the four widget tests load `@objectstack/formula` and
`@objectstack/lint` at module top (`check-test-source-alias`:
`widgets.tsx` reaches both through dynamic imports).
- Changeset (`462477f8`): adds `@objectstack/platform-objects` (patch,
translations) and the three points above.
- Nits, under the small-things rule: **N1** left (one shape published as
a hand-written type beside the inferred one; deriving one from the other
needs the import cycle broken, a follow-up). **N2** left for the
approver as the accepted deviation the record names (names only,
`lookupColumns` precedent). **N3** left (first entry naming a list wins;
a lint advisory is a follow-up). **N4** left (no authorable parent has
an inbound FK from `sys_comment`).

## Human Minimum

Each item is one rule from
[CONTRIBUTING.md › Human
Minimum](https://github.com/objectstack-ai/objectstack/blob/main/CONTRIBUTING.md#human-minimum),
which links the AGENTS.md text that states it.

- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(The new `related-list-entry.ts` holds only the name constants and two
pure name readers, like `related-list-body-table.ts`.)
- [x] 2. Every name I added uses the casing for its kind.
- [x] 3. No formatter ran; `pnpm lint` passes. (ESLint on every changed
file: 0 errors.)
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request. (Two cards folded by the dispatch order, one `Fixes` line
each.)
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset.
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed.
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English. (Except the
maintainer's 维护者速读 block.)
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.

Tier H (`docs/adr/**`): the ADR-0085 and ADR-0035 notes need the
approver's review.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01L6bhgTgsPwrw3VbvRRcqth

<!-- signed: repo:objectstack#1 · os-sales ·
session_01L6bhgTgsPwrw3VbvRRcqth -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
…st, a group's own fields and the pinned details column (objectstack-ai#35902, objectstack-ai#35942) (objectstack-ai#36222)

<!-- claude-projects-attribution: {"github_login":"os-sales"} -->
_Requested by **Sales** · [project
thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuVUBehQPXWLrrSjKtHkXE93)_

repo:objectstack#1 · os-sales · session_01L6bhgWCfqdb19A74hDYnKp

Part of objectstack-ai#35902
Fixes objectstack-ai#35942
Part of objectstack-ai#36188

Clause-②: no
Metadata-protocol: none
Skills-docs: updated here
Security-touching: no

Area: b1-RS. Claims: objectstack-ai#35902 7072867188 (slice 2; it redoes slice 1,
whose branch never reached GitHub), objectstack-ai#35942 7072873584 (folded), objectstack-ai#36188
7072882981 (this PR is its skills half; the seven platform-checklist
JSON items are PR B, `Fixes objectstack-ai#36188`, after this merges, because a
checklist JSON beside skills paths takes a PR off the low-risk skills
arm).

## 维护者速读

- AI 按技能搭建记录页时,现在知道页签由父对象的 `relatedLists`
决定:没写就照旧全部显示;写了就只显示列出的,按列的顺序;附件、审批、动态用对象名
`sys_attachment`、`sys_approval_request`、`sys_activity` 列进来;一项可写 `{ list,
label, columns }` 给这张子表自己的标题和列。
- 以前技能教「把任务排第一」写 `relatedLists:
['task']`,按现在的规则这会把其他页签全藏掉。技能和评测改成「列出要保留的全部页签,任务排第一」。
- 主从子表默认是页签(objectstack-ai#35921 之后),技能不再说「默认是正文表」;父对象分组指向子表才进字段区,而且只在使用者明确要求时才写。
- 第 1 片(分组用 `fields` 列成员、不再有阶段条和关键字段条、阶段在名字旁的状态标签里)当时没推上来,这次一起补上,关掉
objectstack-ai#35942。
- 右栏、⊟ 开关的文字删掉,改成今天的布局:宽的整页把字段钉在左栏,其余页签在右边。
- 新增三条评测:「去掉附件页签」「税号排在行业后面」「报价单的明细放在金额上面」;指南文档记录页一节加了父单的完整报价单例子。
- 代价:只改技能文字、评测、指南和一个 changeset,不动运行时;四个技能文件都没超上限,上限一个没动(同文件删过期文字来付)。

## What changes

**`skills/objectstack-ui/rules/record-page.md`** (3954 → 3951 B, 988 /
991 tokens)
- Step 1: the stage is the status tag beside the title, whose menu moves
it; no stage bar or key-field strip (`highlightFields` feed hover cards,
pickers, related-list columns) (objectstack-ai#35938, objectstack-ai#35942). `fieldGroups` are the
Details sections, each listing its members in `fields`; absent, the
fields whose `group` names it (objectstack-ai#35925). Layout: a full page fitting 320
px of details beside 400 px of tabs pins the details left, the other
tabs right; unless the details hold a child table or there is no other
tab; otherwise one column, Details first (objectstack-ai#36136,
`recordPagePinsDetails`). The old 760 / 1120 px two- and three-column
text, the right column and the Overview tab are gone.
- Step 2 is now "The parent's `relatedLists` is the tab list" (objectstack-ai#35923):
without it nothing changes; declared, only the named lists show, in
order (unlisted approvals and the stream still follow); the built-ins by
object name; "tasks first" lists every tab to keep; leaving out
`'sys_attachment'` drops attachments; `{ list, label, columns }`; a
built-in is a bare name; a child list another package adds is hidden by
a `relatedLists` that does not name it. Kept from the old step 2:
`relatedList: false`, `relatedListFilter`, the default list view `sort`.
A parent group `{ key, label, relatedList: 'quote_line' }` (no `fields`)
places a child table among the fields, written only when asked (objectstack-ai#35902's
open question); its tab stays unless a declared `relatedLists` omits it
(objectstack-ai#35889's note, seat reading 7048340194, as shipped by objectstack-ai#35923). The old
"`'primary'` default for a master_detail" and "`relatedLists: ['task']`,
no page file" are removed (objectstack-ai#35921, objectstack-ai#35923).
- Step 6: the ⊟ right-column switch is removed (objectstack-ai#36188); the details
column's dragged width joins the reader's choices.
- Paid for in the same file: step 1's retired layout text, step 3's "the
synthesizer fills the rest", step 5's removal release ("removed in
@objectstack/spec 18.3.0 (ADR-0087 D2)": the refusal carries its fix),
step 6's "(drawer or full page, for a drawer-mode object)" and the
deprecated `width` / `drawerWidth` aside, step 1's "the other tabs
right", step 4's "a filtered split (Open vs Closed)" and step 5's
"(`new_window`, `none` are the other members)" and "Field count never
decides".
- The `os:check` example is a quote (`sharingModel: 'private'`) with a
group listing its `fields` and a `relatedLists` entry carrying its own
label and columns.

**`skills/objectstack-data/rules/relationships.md`** (16790 → 16812 B,
4203 / 4203), Detail-page related lists: every child is a tab by
default, a `master_detail` child too; `false` hides; `'primary'` makes a
body table with no tab; a parent group naming a `master_detail` child
places its table there too (written only when asked), and its tab stays
unless a declared `relatedLists` omits it; the parent's `relatedLists`
is the tab list (pointing at objectstack-ui Record Page), with the
built-ins and the entry form; an entry's `label` / `columns` win over
`relatedListTitle` / `relatedListColumns`. Paid for by the old tri-state
bullets, the "Suppress a noisy association" comment, and a shorter
refusal aside ("bar a platform or sibling-artifact name", "one into a
package is stored, placing nothing").

**`skills/objectstack-data/references/examples-objects.md`** (6894 →
6876 B), Field Groups: a group lists its members in `fields`;
`Field.group` is the older spelling, still read; the two refusals named;
the example lists members on the groups.

**`skills/objectstack-ui/rules/navigation.md`** (10251 → 10219 B):
"`fieldGroups` + `Field.group`" is "`fieldGroups`", twice.

**Evals** (`skills/objectstack-ui/evals/record-page.json`, README;
measured, not ratcheted):
- Case 1 (tasks first) now expects the full tab list, `task` first, and
refuses `relatedLists: ['task']` and a group naming the task list. Its
old answer ("already a full-width body table") is wrong since objectstack-ai#35921.
- Case 4: remove the attachments tab: the full list without
`'sys_attachment'`.
- Case 5: a Tax ID field after Industry in the group's own `fields`,
with no `group` on the field.
- Case 6: a quote's line items above its Amount section instead of a
tab: a group `{ key: 'lines', label, relatedList: 'quote_line' }`
between the two, and a `relatedLists` naming the tabs kept without
`quote_line` (an undeclared parent keeps a group-placed table's tab).
- `must_not_contain` tokens are code shapes (`relatedLists: ['task'],`,
`'sys_attachment',`, `group: 'basic' }` …), so an answer that names the
wrong shape in prose is not failed.
- No case's `must_not_contain` token appears in its own reference
answer; every `must_contain` token does (checked by script).

**Guide (`content/docs/ui/pages.mdx`, Record pages)**: the synthesized
default says every related list is a tab by default, the header's status
tag carries the stage with no stage bar or strip, and an unplaced
`'primary'` table sits after the field sections drawn open (it said
"after the first field section"; `bodyTablePlacement` since objectstack-ai#35742). New
subsection "Declaring the tabs and the field groups": `relatedLists` as
the tab list with the built-ins and entries, a group's `fields`, a group
placing a child table (its tab stays unless a declared `relatedLists`
leaves it out), and epic objectstack-ai#35896's full quote example (`os:check`, with
`sharingModel: 'private'`; a comment says `quote_line` is in both places
on purpose, so it is drawn in the details and keeps a tab with its own
columns). The layout paragraph gets its own heading, "How the page is
laid out". "A one-word change on the relationship field" now reads "a
declaration on the parent (a field group naming the list)".

**Changeset** `.changeset/35902-skills-related-lists-tabs.md`:
`'@objectstack/skills': patch`, both declaration lines.

## Small calls made in this thread

- No ratchet ceiling moves: a `scripts/check-skills-token-ratchet.mjs`
edit is outside the low-risk skills arm. All four files fit under their
current ceilings.
- The skill says "no package places its own list yet" rather than naming
the follow-up card: the published catalog refuses internal ids
(`check-doc-authoring`).
- The Inline Editing section of `relationships.md`,
`skills/objectstack-ui/rules/list-views.md:370` and
`skills/objectstack-ui/SKILL.md:48` still teach that `inlineEdit: true`
alone puts the child rows on the parent's form; since objectstack-ai#35921 a parent
field group decides and `inlineEdit` only picks grid or form. Not in
this PR (it is form entry, not the record page's tabs, and it spans
three more files): follow-up for the seat to card.
- `content/docs/ui/field-grouping-and-order.mdx` was not touched: the
brief names the record-page section.

## Verification

(readings against `main` 48c732c, head 7b3f52e)

- Reviews on 4885e48: L1-c REWORK 7073387487 (two must-fixes, both in
7b3f52e); Fable rules L2 PASS 7073403529 (N1 narrowed in 7b3f52e, N2
closed by L1-c's fix 1, N3 = L1-c's fix 2, N4 left).
- `node scripts/check-skills-token-ratchet.mjs`: 60 authored files
within ceilings.
- `pnpm check:skill-links` (270 links, 139 fragments),
`check:skill-identifier-liveness` (549 citations), `check:doc-authoring`
(75 published skill files with no internal ids; 516 doc files clean):
green.
- `pnpm --filter @objectstack/spec check:skill-examples`: 348 marked
examples type-check across 3 surfaces (EXIT 0), the new record-page,
examples-objects and pages.mdx blocks among them.
- `pnpm --filter @objectstack/lint run check:doc-security-posture`: 41
`ObjectSchema.create` examples carry an `os validate`-clean posture (the
first head missed `sharingModel` on both quote examples; CI caught it,
fixed in 4885e48).
- The examples through `defineStack` (cross-reference validation): the
guide's quote with `quote_line`, `task` and `account` accepted; control:
the same quote without `quote_line` is refused (`relatedLists[0]
'quote_line' matches no inbound relationship of 'quote'`); the rule's
short quote with a `quote_line` child accepted; the data skill's account
accepted.
- `node scripts/pm/check-governed-merges.mjs --branch
claude/project-thread-emjngv`: skills/** ×6 (all `.md` or
`evals/*.json`), plus a changeset and one `content/docs` `.mdx`, 296
changed lines; the arm's `--pr` reading follows on the PR.

## Follow-ups

- PR B: the seven checklist items
(`docs/qa/platform-checklist/areas/records-forms.json` ×6,
`attachments-storage.json` ×1), `Fixes objectstack-ai#36188`, in a new session after
this merges.
- objectstack-ai#35902 stays open for the objectstack-ai#35901 batch (extension placement), the repo
example and HotCRM.
- `inlineEdit` skills text (above).

## Human Minimum

- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(not touched)
- [x] 2. Every name I added uses the casing for its kind.
- [x] 3. No formatter ran; `pnpm lint` passes. (skills and doc gates
above)
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset.
- [x] 6. `packages/spec` touched: n/a.
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English. (the 维护者速读 block is
the maintainer's Chinese summary)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01L6bhgWCfqdb19A74hDYnKp

<!-- signed: repo:objectstack#1 · os-sales ·
session_01L6bhgWCfqdb19A74hDYnKp -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
…merged (objectstack-ai#36273)

<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XC63go34oEMBFaBgqpoDC8N)_

Fixes objectstack-ai#35701
Fixes objectstack-ai#36211

Clause-②: no
Metadata-protocol: semantic
Skills-docs: none — no skill teaches either entry's text;
`skills/objectstack-ui/rules/record-page.md` §4 already says a `kind:
'full'` page is drawn on the desktop full page only, and no skill names
the field-group refusal's shapes

## 维护者速读

- 用户能看到什么变化:作者运行升级命令时看到的两条升级说明改成与现行规则一致;界面和检查都不变。
- 为什么做:主从子表与字段分组的规则、以及完整记录页只在桌面完整页按原样显示的规则都已合入,两条已发布的升级说明还写着旧说法。
- 出错会怎样:只改说明文字,不改任何检查、拒绝或数据,可直接撤回。
- 要你做什么:无。第三张卡(objectstack-ai#35846,检查清单里主从子表那一项)不在本 PR:它已被 objectstack-ai#36188 的 PR objectstack-ai#36284
取代并关闭,那条清单项在那边按新规则重写。

Seat: `repo:objectstack#4 · os-project-manager ·
session_01FEkQ5kDGa1ViantgrfH797`, area a4-I. Card 35846 was folded into
this dispatch and is **left out of this PR on purpose**: see Acceptance
notes.

## Read first

1.
`packages/spec/src/migrations/entries/semantic/18.field-group-related-list-side-card-refused.ts`:
the riskiest hunk is the `reason` parenthetical and the "Ruling B keeps
the FK's declared relatedList authoritative" sentence. Check them
against `isGroupPlaceableRelationship` / `fieldGroupBodyTableRefusal` in
`packages/spec/src/data/related-list-body-table.ts`.
2.
`packages/spec/src/migrations/entries/semantic/18.page-slots-tabs-retired.ts`:
the `replacement` tail now reads like `PAGE_SLOTS_TABS_REMEDY` in
`packages/spec/src/ui/page.zod.ts`.
3. `packages/spec/liveness/object.json`: one dated sentence was added to
the `fieldGroups[].relatedList` note.

Two-minute check: `pnpm --filter @objectstack/spec exec vitest run
--maxWorkers=2 src/ui/page-slots-tabs-retirement.test.ts
src/migrations/migrations.test.ts`. Both files should pass. The D3 pin
still finds `` `kind: 'full'` `` and no tracker number in any field
shown to authors.

## What changes

- **`field-group-related-list-side-card-refused`** (card 35701). Since
the body-table predicate was widened, a field group may place a
`master_detail` FK that declares no `relatedList`, with or without
`inlineEdit`, and the group makes it a body table.
`isGroupPlaceableRelationship` accepts this shape, and so do the
`defineStack` and publish-door refusals. The entry still listed it as
refused. Changes:
- `surface`: the shape "a plain master_detail with no inlineEdit" is
removed from the refused list.
- `replacement`: "for an inline-edited master_detail remove an explicit
`relatedList: true`" becomes "for a master_detail …".
- `reason`: the old predicate in the parenthetical is replaced by the
merged one. The text matches the refusal sentence: "`relatedList:
'primary'`, or a master_detail FK that declares no relatedList, which
the group makes a body table".
  - The entry's header comment is corrected the same way.
  - The `id`, `acceptanceCriteria` and every predicate are unchanged.
- **`page-slots-tabs-retired`** (card 36211). The `replacement` tail and
the `acceptanceCriteria` now say a `kind: 'full'` page is drawn as
authored on the desktop full record page, and that a phone and the side
preview draw the standard record page with the composed strip. This
matches the remedy and describe as merged in `92e0475e`. The pin file's
docblock line says the same.
- **Stale notes from 35701, comment only:**
- `packages/spec/liveness/field.json`: the `relatedList` evidence now
says "absent on a master_detail FK that a parent field group places".
- `packages/spec/liveness/object.json`: the `fieldGroups[].relatedList`
note gains one dated sentence about the widened placeable set. Verdict
unchanged: LIVE.
- **Checklist quote (scope addition 7027500679):** in
`docs/qa/platform-checklist/areas/records-forms.json`, item
`records-forms.related-list-server-pagination` steps[1] quotes the
`relatedList` describe. The quote now matches the describe as it stands
on `main`. This is the only edit in that file. No other item and no
revision changes: it is a correction to a quote, and what the step asks
the grader to do is unchanged.
- Changeset `.changeset/35701-shipped-text-after-body-tables.md`:
`@objectstack/spec` minor. The kind is `semantic`, and per AGENTS.md
step 3 a kind other than `none` takes at least minor. PR `92e0475e` used
the same level for its describe-only change.

`os migrate meta` lists the same entries for the same stacks.
`relevantWhen` is keyed on top-level stack keys and is untouched, and
the edit is in place: no new entry and no superseding entry.

## Tests

<details><summary>Spec unit tests and gates (filled from the local run,
see Verification)</summary>

At head `483e6f51f` (all under `scripts/pm/os-verify-lock.sh`, VERDICT
command-exit 0 each):

- `pnpm --filter @objectstack/spec test`: Test Files 869 passed (869),
Tests 27877 passed, 1 todo. This includes
`src/ui/page-slots-tabs-retirement.test.ts` (the D3 entry pin) and
`src/migrations/*.test.ts`.
- `pnpm --filter @objectstack/spec typecheck`: exit 0; `registry.ts is
current (638 semantic, 307 retired-key, 249 retired-def)`.
- `pnpm --filter @objectstack/cli exec vitest run --maxWorkers=2
test/migrate-meta-engine-guidance.test.ts` (the os migrate meta guidance
pin), after building the cli closure: Test Files 1 passed, Tests 3
passed.
- No ablation: no tested behaviour changed (text only).

</details>

## Acceptance notes

- **Card 35846 not done (its premise was overtaken).** Its Done-when
asks the item to cite "the 2026-11-20 ADR-0035 note". That note was PR
35845, which was closed unmerged by maintainer ruling on 2026-11-20
22:08Z: 「35845 和新规则冲突,直接关闭作废」. The ADR on `main` has no such note.
Separately, `f3c9d426f` (2026-11-21) made a plain `master_detail` child
a tab by default. It is a body table only where a parent field group
places it, and it is then drawn at that group's position. The item
`records-forms.master-detail-body-tables` assumes the old default
throughout: **Resolved 2026-11-22:** the seat closed objectstack-ai#35846 as
superseded by objectstack-ai#36188; PR objectstack-ai#36284 rewrites the item to the objectstack-ai#35921 rule (no
citation of PR 35845).
- its title says "a table in the record overview by default … never a
tab";
- its fixture is `showcase_task.project`, which no `showcase_project`
field group names;
  - clause [2] and the negatives say the list has no tab;
  - its rule cells read "no relatedList → body".

Writing only the new order would leave the item false, so this PR makes
no edit to it. The next step is in the report's `open_questions`.
- **Scope addition, quote target.** The addition asked for the describe
"as merged by objectstack-ai#35691". `f3c9d426f` has since replaced that describe: its
"absent = 'primary' on a master_detail field" no longer holds. The quote
therefore uses the describe on `main` at `c30ce97c`. Quoting the older
text would have added a false statement.
- **35701's stale-note list, measured at `c30ce97c`:**
- Already current, no edit made (refreshed by the objectstack-ai#35889 / objectstack-ai#35921 work):
ObjectFieldInspector (`readRelatedListMode` docblock, now at about line
3058) and the ObjectGroupInspector `RelatedTablePlacement` docblock. The
`lint data-model-rules` notes at :292 and :1012 already cite the group
rule.
  - Skipped by order: RecordDetailView (seat 1 is editing it).
- Left alone, under `ui/` and outside this claim:
`ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts:306`
"drawn as authored" (docblock).
- **Not touched, by rule:** `packages/lint/CHANGELOG.md` near line 2317
still states the old remedy in a released entry. Package changelogs are
release-owned. Correcting a released entry takes its own docs-only PR.
- **Remaining wording drift, out of scope:**
`field-group-related-list-side-card-refused` still says "side card in
the related column". Since the tab row work, a non-body list is a tab
with a rail card. The card asked only for the predicate.

## Verification

Gate families derived by `node scripts/pm/dispatch-gates.mjs --commands
--repo objectstack-ai/objectstack` at `483e6f51f`: 92 commands, all run
under the lock; `--ran` reconciliation: 92 derived, 92 run, 0 UNRUN.

- 87 exited 0 on the first pass, among them `check:spec-changes`,
`check:upgrade-guide`, `check:docs` (249 generated files in sync),
`check:liveness`, `check:platform-checklist` (16 areas, 436 items OK),
`check:doc-authoring`, `check:nul-bytes`, `check:issue-citations`,
`check:adr-0087-registration`.
- 3 answered PREREQUISITE NOT MET (exit 3 or 1, an unbuilt package) and
exited 0 after `pnpm --workspace-concurrency=2 --filter
'@objectstack/cli...' build`: `migrate-meta-engine-guidance.test.ts`,
`check:doc-formula-expressions`, `check:lean-entry-closure`.
- NOT MEASURED: `check:dual-build-cjs-loads`, which needs a full
workspace build (105 packages without dist). CI's Lint & Repo Gates runs
it.
- NOT MEASURED: `check-plugin-teardown-shape.mjs --self-test`, whose
positive control is pinned to a commit this shallow clone cannot reach.
It is checker health only and cannot judge this diff.
- `generated references`: `content/docs/references/**` embeds neither
entry (`git grep` finds both ids only in release notes), so nothing was
regenerated. The upgrade guide and spec-changes are gitignored
projections, checked in memory above.
- Overlap: `node scripts/pm/overlap-check.mjs`: VERDICT clean (PRs 36233
and 36223 share `records-forms.json` and merge cleanly).

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797)_


<!-- signed: repo:objectstack#4 · os-project-manager ·
session_01FEkQ5kDGa1ViantgrfH797 -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
…nlines the child (objectstack-ai#36307)

<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XC63go34oEMBFaBgqpoDC8N)_
Fixes objectstack-ai#36281
Clause-②: no
Metadata-protocol: none

## 维护者速读

-
用户能看到什么变化:作者给「组合/重复」字段声明了子字段时,检查工具打印的修复建议以前说「建子对象并设成表格内联编辑」就能在父表单里编辑明细;现在改成「建子对象,并在父对象的字段分组里点名它」,同时说明内联方式只决定怎么编辑行。
- 为什么做:属于「检查工具的建议要和平台真实规则一致」这条线,替照着建议改元数据的作者和 AI
解决「照做之后父表单里没有明细行、子对象只是一个标签页」的问题。
- 出错会怎样:只改一句提示文字和两处测试,规则何时触发、级别和位置都不变;写错的话作者看到的仍是一句不准的建议,直接回退这个 PR 即可。
- 要你做什么:无。

## What changes

State at head `bc156e739` (one commit).

- `packages/lint/src/data-model-rules.ts`: the
`field/embedded-sub-fields` fix line. It said the child object plus
"`inlineEdit: 'grid'` edits it inline". Since the parent-field-group
rule (objectstack-ai#35889, with objectstack-ai#35921), a child is inlined in the parent's form only
when a field group of the parent names it in `relatedList`; the FK's
`inlineEdit` only picks grid or form. The line now reads: "Make the
typed list a child object whose `master_detail` field points back here,
name it in a `fieldGroups[].relatedList` here (`inlineEdit` only picks
how rows are edited), and remove the key." (193 characters, under the
200 cap.) This follows the spec text `EMBEDDED_JSON_TYPED_LIST` and the
rule's `os explain` paragraph, which already name the field group.
- Message text only: the rule id, severity, path and when it fires are
unchanged.
- `packages/lint/src/data-model-rules.fix-lines.test.ts`: the exact-text
pin of this fix line is updated to the new text (it asserts the hint
text, nothing else).
- `packages/lint/src/data-model-rules.embedded-sub-fields.test.ts`: new
top-level `describe` in the rule's existing harness file: the fix names
`master_detail`, `fieldGroups[].relatedList` and "`inlineEdit` only
picks how rows are edited", and no longer carries `inlineEdit: 'grid'`.
- `.changeset/36281-embedded-sub-fields-hint.md`: `@objectstack/lint`
patch.

Read first: `packages/lint/src/data-model-rules.ts` (the one changed
string, R14), then the new `describe` at the end of
`data-model-rules.embedded-sub-fields.test.ts`.

Two-minute check: `pnpm --filter @objectstack/lint exec vitest run
src/data-model-rules.embedded-sub-fields.test.ts
src/data-model-rules.fix-lines.test.ts` shows 2 files, 26 tests passed.

## Tests

All readings at head `bc156e739`.

<details><summary>Targeted tests, typecheck, whole lint
package</summary>

- `pnpm --filter @objectstack/lint exec vitest run --maxWorkers=2
src/data-model-rules.embedded-sub-fields.test.ts
src/data-model-rules.fix-lines.test.ts`: Test Files 2 passed (2), Tests
26 passed (26).
- `pnpm --filter @objectstack/lint typecheck`: exit 0 (tsc --noEmit,
then check:test-typecheck OK).
- `pnpm --filter @objectstack/lint exec vitest run --maxWorkers=2`: Test
Files 224 passed (224), Tests 9409 passed, 5 skipped (9414).

</details>

<details><summary>Ablation (one-time, not kept)</summary>

`node scripts/ablation-replace.mjs` swapped the new second half of the
fix back to "`inlineEdit: 'grid'` edits it inline": anchor 1 to 0, blob
f16e42d to 1f785d0f961a. Both pins went red: "routes to
`fieldGroups[].relatedList` and gives `inlineEdit` only the form factor"
and "field/embedded-sub-fields: one line, whatever the type, the keys or
the names" (2 failed, 24 passed). Restored: blob equals HEAD
(f16e42d), `git diff HEAD` empty. Vitest reads `src/` through the
relative import, so no rebuild was needed.

</details>

<details><summary>Gates run locally</summary>

`node scripts/pm/dispatch-gates.mjs --commands` derived 63 commands for
this diff. 61 exit 0 (`check:docs-transcript-drift` and
`check:lean-entry-closure` after building lint and objectql; first run
exit 3, prerequisite). 2 NOT MEASURED, exit 3 prerequisite:
`check:dual-build-cjs-loads` (needs a full `pnpm build`; CI runs it) and
`check-plugin-teardown-shape.mjs --self-test` (checker health only;
needs an unshallowed clone). `--ran` reconciliation: 63 derived, 61 run,
2 NOT-MEASURED, 0 UNRUN, exit 0.

</details>

## Acceptance notes

- Other `inlineEdit` hits in `packages/lint/src` (non-test), left as
they are: `data-model-rules.ts` doc comments near the bulk rule, the
group map and R5 already say the field group, not `inlineEdit`, inlines
the child; `validate-field-consumers.ts` reads `inlineEdit` only as the
form factor (grid or form); `showcase-shape.fixtures.ts` sets
`inlineEdit: true` on a list view, a different key.
- Outside `packages/lint`, `content/docs/data-modeling/field-types.mdx`
says "`inlineEdit: 'grid'` edits the rows as an inline grid on the
parent's form (where a field group of the parent names the child)". It
states the group condition, so it is not wrong, only ordered the old
way. Not changed here (not on this card's file surface).
- The pin went into the rule's existing harness file as a top-level
`describe`, not a new card-named file (AGENTS.md: a new pin for a
component with a shared harness goes into that file).

## Verification

Local only; CI runs the full farm. Net added lines: +28 / -4 (net +24)
against merge base 76cb366.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797)_

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation protocol:data size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants